This is by far the best treatment I have found. Borrowing from examples of authors:
Most people use this:
<div class="row">
<div class="span6">...</div>
<div class="span6">...</div>
</div>
If you are like me, then you are trying to get to this:
<!- our new, semanticized HTML -->
<div class="article">
<div class="main-section">...</div>
<div class="aside">...</div>
</div>
.article {
.makeRow(); // Mixin provided by Bootstrap
.main-section {
.makeColumn(10); // Mixin provided by Bootstrap
}
.aside {
.makeColumn(2); // Mixin provided by Bootstrap
}
}
source
share