spcss
spcss copied to clipboard
A simple, minimal, classless stylesheet for simple HTML pages
I've dropped sp.min.css into a HTML page with an image and it was badly distorted. The width (original wider than viewport) was reduced, but the height stayed the same, so...
Please consider reverting this behavior and instead using a simple line-wrapping strategy. The responsible thing to do would be to allow code to be seen in one glance, without navigating...
I believe this could fix the issue: ```css sup, sub { line-height: 1; } ```
Not sure if you know, but it happen to me once, that not every one like dark mode when he have prefers dark mode option. So there should be a...
When having iOS set to dark mode AND also enabling night mode in Firefox for iOS, the dark mode of SPCSS is broken (the effect is somewhat reversed).  Firefox...
Setting a max-height on images will put a cap on high-res versions e.g. https://placekitten.com/300/1500. Otherwise, users will face a long scroll of lengthy image in mobile view. This change do...
Use a system font stack for optimal rendering on all devices. https://css-tricks.com/snippets/css/system-font-stack/
https://developer.mozilla.org/en-US/docs/Web/CSS/::selection Separate color based on color mode