4 ms·
That's quite beautiful for such a small stylesheet. I once almost started a web site called SimpleStyleSheets that had that goal -- maximum of 4 lines of CSS,
by calinet6 13y ago
That's quite beautiful for such a small stylesheet.
I once almost started a web site called SimpleStyleSheets that had that goal -- maximum of 4 lines of CSS, no ugly compression, maximum of 120 characters per line. And see how good you can make a page of simple semantic content look.
I should do it now -- it'd be a good exercise in this day of complex designs and bloated styles.
- adregan 13y agoIt could even be a little smaller if the max-width and margin were placed on the body tag. You don't even need the wrapper!
- iso8859-1 13y agoThis wouldn't work with background colors though, would it? I imagine the document background color would be undefined outside the body then. Do you suggest putting the background color on the html element? I never saw that.
- iso8859-1 13y agoBeautiful? It's a tragicomedy! Even the most minimal stylesheet shows how unintuitive CSS is: To center content, your don't use the word "center"!