3 ms·
This is the full stylesheet: <style type="text/css"> body { font-size:18px; } .wrapper { max-width: 600px; margin:0 auto; } </style> I feel like you'r
by tl 13y ago
This is the full stylesheet:
<style type="text/css">
body { font-size:18px; }
.wrapper { max-width: 600px; margin:0 auto; }
</style>
I feel like you're being a little unfair here.
- meerita 13y agoStill needed style. The good point is, we don't need to be extremist.
- weinzierl 13y agoMaybe you are right, but maybe we can be extremist and it will still work: http://weinzierlweb.com/words.txt http://weinzierlweb.com/words.txt ASCII text, copied from Firefox, added links and emphasis manually and formatted with par in vim.
- dutchbrit 13y agoBut the question is, should we see that as structure or design?
- deleted 13y ago[deleted]
- smackfu 13y agoPartially I was reacting to the words saying: "There's not much code on this page at all, just simple markup for paragraphs, hierarchy, and emphasis."
- calinet6 13y agoThat'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"!