3 ms·
Thanks. Yeah, I wasn't going for the byte-pinching approach (lots of good-old-fashion whitespace, not using css one-liner declarations, not bothering to refacto
by ComputerGuru 9y ago
Thanks. Yeah, I wasn't going for the byte-pinching approach (lots of good-old-fashion whitespace, not using css one-liner declarations, not bothering to refactor overlapping styles, etc); like you said, the intention was to simply show how a basic (user|site) stylesheet can result in a vastly more user-friendly result without going overboard.
(Now if you want to nitpick... I imagine the css has a better gzip/brotli compression ratio than the html by nature of its repetitive keywords.)
- Karrot_Kream 9y agoYeah cheers on keeping it super readable. Now you've got me googling to figure out how to overwrite User-Agent styling.
- ComputerGuru 9y agoCSS Resets. Most you'll find only are out of date though, and only handle the basic, non-vendor-specific attributes.
- sillysaurus3 9y agoSans underline: https://i.imgur.com/xMogV4q.png https://i.imgur.com/xMogV4q.png
- ComputerGuru 9y ago(Replying to an earlier version of this comment): You’re right. We’ve become - by and large - engrained to associate links with underlines, but in this context it’s not necessarily necessary (though probably a welcome hint for many).