6 ms·
You forgot the option of "no framework, I'll build it myself and have ultimate control". It's not rocket science, it's HTML and CSS, and you don't need a frame
by exodust 13y ago
You forgot the option of "no framework, I'll build it myself and have ultimate control".
It's not rocket science, it's HTML and CSS, and you don't need a framework to have uniformity or responsiveness.
Your site could be made up of a bunch of jquery plugins too, and stock library graphics, and is your content rehashed too?
div class=span4 is nothing more than a table-based layout in disguise. Spans and rows are not inherent to divs. You're adding a layer of new rules that doesn't complement the technology you're adding to. You may as well be building with an old fashioned table based layout.
When I view source of some of the flagship bootstrap examples, I see stuff like this... empty divs either side of the logo graphic. I remember doing stuff like this with tables back in the 90s. Spacer gifs inside the empty table cells. But in this case, it's a class.
<div class=span4></div>
<div class=span4>logo</div>
<div class=span4></div>
- superchink 13y agoYou're forgetting the key benefit of frameworks built on preprocessors like Sass or LESS: you can use their mixins to define semantic CSS rules, without using presentation classes.
- rozap 13y agoJust because people have a framework doesn't mean they will write elegant code. The example you gave is indeed ugly, but there are a bunch of different ways (within the framework) to accomplish the same thing without being so lame. This is a fault of the developer, not the folks who created bootstrap. People write terrible code in bootstrap, django, backbone, etc. Even within the confines of a framework, man will always find a way to write shit code. It is one of the constants of our universe.
- ereckers 13y agoThis could and should have been written as: <div class="span4 offset4">logo</div>