What’s the difference between “resetting” and “normalizing” CSS? Which would you choose, and why?

Technology CommunityCategory: CSSWhat’s the difference between “resetting” and “normalizing” CSS? Which would you choose, and why?
VietMX Staff asked 3 years ago
  • Resetting — is meant to strip all default browser styling on elements. For e.g. marginspaddingsfont-sizes 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.

It’s a good idea to choose resetting when you have very a customized or unconventional site design such that I need to do a lot of my own styling do not need any default styling to be preserved.