Always inheriting the user’s preferred font size. The one they choose in their browser or on their system. Even if they did not explicitly choose one (because the default was maybe good enough).
To use BedrockCSS, simply include the bedrock.min.css
file in your HTML document.
<link rel="stylesheet" href="path/to/bedrock.min.css" />
Or use Github Pages as CDN source.
<link rel="stylesheet" href="https://timescam.github.io/BedrockCSS/css-dist/bedrock.min.css" />
- Example page
BedrockCSS is licensed under the CC BY-SA 4.0 license.
BedrockCSS is inspired by this blog post by Adrian Roselli: The Ultimate Ideal Bestest Base Font Size That Everyone Is Keeping a Secret, Especially Chet.
WCAG 2.1 guidelines are used to ensure accessibility and usability.
Dracula Theme is referenced for the dark mode colors.