You have to “select” the things you’ll be working with. Just like anything in life. Picking up a book to read? Choosing a type of coffee? It’s fun.
Writing the HTML to get ready
You can follow along and practice, or skip to the CSS selectors in the next video.
This selects base on the type of element.
This selects all of the elements. It can be used in conjunction with any selector building technique.
You can target many different things by creating a rule that targets many selectors. You just have to pop a comma in between them to create a list. Just don’t leave a trailing comma or it won’t work : /
These allow you to scope your rules to particular parts of the document.
All of these selectors and combinators work together. As long as you follow their rules, they’ll do their job. Get weird and try LOTS of things.