Published: Written in Crawley, UK Updated:
Original post can be viewed atwww.joshwcomeau.com

My Custom CSS Reset — written by Josh Comeau

This is a nifty little CSS reset and I love the thought process Josh has gone through to come up with it.

In particular some really interesting line-height calculating!

* {
  line-height: calc(1em + 0.5rem);
}

Looks like he’s still experimenting with it but I’ll certainly be keeping an eye out for it.


Other bookmarks