I would like to add a separator between the columns in my grid. The fact is that I can have from 1 to 4 columns. In the case when I do only one, I do not want a divisor.
Here is the current code that I have:
<div class='col-md-{$ NumberOfColumns $} my_class' data-ng-repeat='...'>
</div>
In css, I can add something to my_class like:
.my_class {
border-left: 1px solid rgba(196, 187, 159, 0.63);
}
However, this border will appear even if I have one column. Does bootstrap install something to handle the divider more gently?
source
share