• in
InterCourses
CoursesBlogs
0
← CSS
○What is CSS?○CSS Selectors○How to Apply CSS○CSS Specificity
○Colors○Backgrounds○Typography
○The Box Model○Display○Positioning
●Advanced Selectors○Pseudo-Classes
○Dropdown Structure○Dropdown Behavior
○Form Structure○Form Styling
○Flexbox Basics○Flexbox Alignment○Flexbox Items○Flexbox Layouts
○CSS Grid
○Website Structure○Grid and Responsive
○CSS Variables○Transitions
○Transition Effects○Keyframe Animation
○Responsive Design
○Table Structure○Responsive Table Styling
○Resume Structure○Resume Polish

Advanced Selectors

Advanced selectors target elements based on structure.

Your Task

  1. Use descendant selector .card p to set color: #334155;.
  2. Use child selector .card > h2 to set font-size: 20px;.
  3. Use attribute selector a[target="_blank"] to set text-decoration: underline;.
Hint 1
1 / 2
HINT 1

Use descendant selector with a space.

Loading editor…
READY
intercourses
html