Chaining Selectors

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…

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

I got it
font-family: cursive;

1 Like

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

1 Like

yeap) or I tried to )))))

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

thank you so much, for help)))

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