October 2017
Intermediate to advanced
522 pages
10h 9m
English
Up at the very top of our style sheet, there is a CSS comment that credits Eric Meyer for the reset. We'll leave that in there:

Next, we have the bulk of the reset. This huge chunk of code is vaguely a reminder of the rule set you learned about in Chapter 1, CSS Foundations. It's really just a rule set with a very long selector. The selector has just about every HTML element separated by commas:

This means that all these elements are going to receive the same styles from the declaration block:
... { margin: 0; padding: ...Read now
Unlock full access