CSS Flashcards
1
Q
What’s the difference between “resetting” and “normalizing” CSS?
A
- Resetting: is meant to strip all default browser styling on elements. For example, margins, paddings, font-size of all elements are reset to be the same. You will have to redeclare styling for common typographic elements.
- Normalizing: preserves useful default styles rather than “unstyling” everything. It also corrects bugs for common browser dependencies.
I would choose to reset when I have a very customized or unconventional site design. In that case I need to do a lot of my own styling and I don’t need any of the default styles.