2.2 - Activity 1 - Get in Class!
The last thing we learned in Lesson 2.1 was semantic tags. We get articles,
sections, navs, and so forth, but… what happens when we run out? What about
everything other than those tags? What about students? Apples? Looping GIFs?
Things we haven't invented yet?
It's time for a major new way to write CSS. Get in class, it's time for CSS classes!
Going forward, we will be switching CSS to use classes instead of tags.
Key Terms
- CSS class - Starts with a
.
, a way to designate what CSS applies to what