Skip to content

Instantly share code, notes, and snippets.

@martinbeentjes
Created October 7, 2025 08:07
Show Gist options
  • Save martinbeentjes/5a19216ca3949d2cd5af567bdb555351 to your computer and use it in GitHub Desktop.
Save martinbeentjes/5a19216ca3949d2cd5af567bdb555351 to your computer and use it in GitHub Desktop.
Base CSS by cascade.dev
// 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;
}
@martinbeentjes
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment