Ajax-loader-large-white
CSS Selectors
Beyond HTML elements

HTML elements can be CSS selectors, but as we saw with the universal selector *, they're not the only selectors available.

There are two important selectors you can use in addition to the universal selector and HTML elements: classes and IDs.

Instructions

You'll see a class and an ID declared in the HTML tab. We'll get to the syntax for these in the next exercise—in the meantime, remove the comment (the leading /* and trailing */) from the CSS tab to see how they work!

index.html
stylesheet.css
project
View Preview