5 ms·
Wow, that's amazing. I love programs written in less than a kilobyte. Personally, I developed a CSS framework that is only 995 bytes (not to compare it to this
by owenversteeg 12y ago
Wow, that's amazing. I love programs written in less than a kilobyte. Personally, I developed a CSS framework that is only 995 bytes (not to compare it to this program) - http://mincss.com/ http://mincss.com/.
In the same vein as this program, there's JS1k. Some of the stuff on there is also really amazing.
- TylerJay 12y ago> Patients that switched from Bootstrap to Min reported up to a ninefold decrease in markup hehe. Actually though, as someone who learned CSS with the rule "Use Divs! No Tables!" What does a page with less divs even look like? What are the workhorses for page layout?
- owenversteeg 12y agoThat rule is good. Using divs normally is fine. However, it is possible to overuse divs. Sometimes you'll have a div nested inside a div (and so on) six levels deep. That's considered bad. For example, <div id="div-holder"> <div id="inner-padding-div"> <div id="right-align-div"> <div id="centering-div"> <div id="actual-content"> is bad - you could reduce that to one or two divs at most.
- TylerJay 12y agoGotcha. Thanks!