I have 4 divs aligning in a straight line in full screen mode. When the screen is smaller, they react. But there is a small problem: if one of the divs has a little more weight, then the other, responsiveness is not so beautiful.
In full screen mode:

When the screen gets smaller:

How it should be:

HTML:
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="coloured_circle indianred">
<img src="../images/3.png" alt=""/>
</div>
TEXT
<div class="red_bottom_border"></div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="coloured_circle lightskyblue">
<img src="../images/9.png" alt=""/>
</div>
TEXT
<div class="blue_bottom_border"></div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="coloured_circle lightgreen">
<img src="../images/12.png" alt=""/>
</div>
TEXT
<div class="green_bottom_border"></div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="coloured_circle cornflowerblue">
<img src="../images/14.png" alt=""/>
</div>
TEXT
<div class="cornflowerblue_bottom_border"></div>
</div>
EDIT: Place <div class="clearfix visible-sm-block"></div>after 2 divs worked. When using ng-repeat, use this code that I wrote:
`<div class="clearfix visible-XX-block" ng-if="$index%2==1"></div>
<div class="clearfix visible-XX-block" ng-if="$index%3==2"></div>
<div class="clearfix visible-XX-block" ng-if="$index%4==3"></div>
<div class="clearfix visible-XX-block" ng-if="$index%6==5"></div>`
source
share