5 ms·
> 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 "U
by 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!