Bootstrap CSS Container Layout I've always been used to write my own CSS but I decided to give a go to twitter-bootstrap and I want to make sure I'm not using more HTML containers that I need to:

This is my code for a single element of a list:



&lt;div class="row form-group"&gt;
  &lt;div class="col-md-4"&gt;
     &lt;input type="email" class="form-control" placeholder="Enter email" value="vitor.monteiro@ubs.com"&gt;
   &lt;/div&gt;
   &lt;div class="col-md-2"&gt;
      &lt;span class="glyphicon glyphicon-minus"&gt;&lt;/span&gt;
   &lt;/div&gt;
&lt;/div&gt;


My main issue with this is to have two &lt;div&gt; wrapping single elements, in the first case it's an &lt;input&gt; and then a &lt;span&gt;. If this was normal HTML I would condemn the DOM code as being inefficient and cluttered as the &lt;div&gt; would not be necessary.

Is this a proper usage of twitter-boostrap if I want to create a form group element where the left side is an input and the right side the - icon?
Just like many CSS frameworks, bootstrap is meant to reduce (or even eliminate) the need to write CSS. Instead, it offers predefined classes to be used with divs to give the page a shape.

I agree that it might seem that the code above has "divitis." As a matter of fact, not even with CSS3 is it always possible to create a certain layout or style using semantic HTML only. So since the divs exist exactly for that, and using a framework might reduce development time by scales, I don't see anything bad with the code above. It's completely semantic, correct as of bootstrap, and apart from bootstrap itself contains no redundancy.