mdgriffith / style-elements

Create styles that don't mysteriously break!
http://package.elm-lang.org/packages/mdgriffith/style-elements/latest
BSD 3-Clause "New" or "Revised" License
445 stars 49 forks source link

Put CSS reset after normalize.css #77

Closed Dremora closed 7 years ago

Dremora commented 7 years ago

Currently we reset margin, padding, border and font for pretty much all elements. However, this happens before normalize.css, and as a result, some non-zeroes values do sneak in, like h1's margin. This PR puts the reset block at the end of normalize.css.

mdgriffith commented 7 years ago

Thanks Kirill, I also needed to go ahead and qualify the css reset using .style-elements. So, this and moving the reset are covered in 3.4.0