Make absolute measurements in the user agent style sheet relative.
2025-12-14 01:18:49 +00:00
src first version 2025-12-13 23:41:05 +00:00
LICENSE Initial commit 2025-12-13 23:39:35 +01:00
README.md minor text fixes 2025-12-14 01:18:49 +00:00

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 Geckos user agent style sheets with equivalent measurements relative to an elements font size, assuming a default font size of 16px.

Im not sure how useful thisll be to anyone other than myself, though I figured Id share it regardless. relative.css is free to use for whatever purpose, with or without credit (for more information, see LICENSE).