A modern CSS reset
Other solutions have been invented since, but I still think Eric Meyer's CSS Reset is the best way of approaching the problem of getting a predictable baseline across browsers. I've adapted Eric's original reset for the modern browser landscape.
display:blockfor HTML5 elements -- no need any more
line-height:1-- leading is a project style decision
font:inheritfor form elements -- saves doing it per-element later
border-boxon root -- nicer box model by default
text-size-adjust:100%on root -- fixes some unwanted mobile browser behaviour
max-heightto image elements -- responsive by default
- Added sensible defaults for text-level semantic elements
IE9+, Edge, Safari, Firefox, Chrome, Opera.