Created
October 7, 2025 08:07
-
-
Save martinbeentjes/5a19216ca3949d2cd5af567bdb555351 to your computer and use it in GitHub Desktop.
Base CSS by cascade.dev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // base starting css from https://thecascade.dev/article/least-amount-of-css/ | |
| html { | |
| color-scheme: light dark; | |
| } | |
| body { | |
| font-family: system-ui; | |
| font-size: 1.25rem; | |
| line-height: 1.5; | |
| } | |
| img, | |
| svg, | |
| video { | |
| max-width: 100%; | |
| display: block; | |
| } | |
| main { | |
| max-width: min(70ch, 100% - 4rem); | |
| margin-inline: auto; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With all the kudos from https://thecascade.dev/article/least-amount-of-css/