CSS Reset & Normalize
CSS Reset & Normalize — Reset or normalize default browser styles to create a consistent baseline across different browsers. The guide walks through Reset vs Normalize, Modern Reset. CSS Reset (Eric Meyer): removes ALL default styles — margins, padding, font sizes, list styles. You start from zero and add everything back. Normalize.css: preserves useful defaults while fixing browser inconsistencies. Modern: `*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}` — a minimal reset that covers most needs. A modern minimal reset: `*,*::before,*::after{box-sizing:border-box}` — consistent sizing. `body{min-height:100vh;line-height:1.5;-webkit-font-smoothing:antialiased}`. `img,picture,svg,video{max-width:100%;display:block}`. `input,button,textarea,select{font:inherit}`. `p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}`. The guide is organized into 2 sections that build on each other, each pairing a prose explanation with real CSS you can use as-is. Related guides: CSS Introduction, CSS Selectors, CSS Box Model, CSS Flexbox, CSS Grid. This is one of 68 CSS guides on CSS Reference — see the full list on the guides page. Look up any property mentioned in this guide from the search page or the CSS Reference homepage.