Chaining Selectors


#1

In style.css, write a CSS selector for h2 elements with a class of .destination. Inside the selector’s curly braces, write this: font-family: cursive;
I did, and not running…

.destination{
font-family: cursive;
}
Did you write a selector for the h2 tag and destination class in style.css?
what’s wrong?


#2

I got it
h2.destination{
font-family: cursive;
}
:smiley:


#3

Do you also understand the difference between h2.destination and .destination css selector?


#4

yeap) or I tried to )))))


#5

4 posts were split to a new topic: Don’t understand the difference between chaining selectors and nesting elements


#7

thank you so much, for help)))


#8

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.