What's the difference between "resetting" and "normalizing" CSS? Which would you choose, and why?

Asked: Apr 14, 2023

Resetting - Resetting is meant to strip all default browser styling on elements. For e.g. margins, paddings, font-sizes of all elements are reset to be the same. You will have to redeclare styling for common typographic elements.
Normalizing - Normalizing preserves useful default styles rather than "unstyling" everything. It also corrects bugs for common browser dependencies.
I would choose resetting when I have a very customized or unconventional site design such that I need to do a lot of my own styling and do not need any default styling to be preserved.

Asked by brijesh

Answers (0)

No answers yet. Be the first to answer!