Just put the elements in col-md-4 . The relaxation grid has 12 rows, therefore, giving each element a width of 4/12, you get 3 elements in a row.
JS bin: http://jsbin.com/macifezapi/1/edit?html,js,output
Depending on what width you want to split the lines into a mobile layout (each column occupies 100% of the width), you can use col-lg-4 , col-md-4 , col-sm-4 or col-xs-4 . See the Boostrap grid system for more information. There is no need to manually calculate 3 lines and place a wrapper around them around them.
Update:
The mentioned columns have different heights, the grid system leads to the fact that different columsn have different element values. It does not look good. The simplest solution is to add a default height to each element, so that the grid system works correctly again.
Another solution, if you need to support only modern borwser, is to use the new flexbox technique.
Here is an example: http://jsbin.com/muzepubupu/edit?html,css,js,output
A good description of how flexbox works can be found here: https://css-tricks.com/snippets/css/a-guide-to-flexbox/
source share