Make absolute measurements in the user agent style sheet relative.
| src | ||
| LICENSE | ||
| README.md | ||
relative.css
The default user agent style sheet in most current browsers features a lot of absolute measurements; for example, the indentation on lists and <blockquote> elements is typically set to 40px.
While this is not an issue in most cases, it can cause these elements to look off when using larger font sizes. relative.css replaces common absolute measurements across WebKit, Blink and Gecko’s user agent style sheets with equivalent measurements relative to an element’s font size, assuming a default font size of 16px.
I’m not sure how useful this’ll be to anyone other than myself, though I figured I’d share it regardless. relative.css is free to use for whatever purpose, with or without credit (for more information, see LICENSE).