This is my simple bootstrap code..
<div class="container">
<div class="col-lg-12">
<div class="col-lg-3">
<p>
aaaaaa
</p>
</div>
<div class="col-lg-3">
<p>
bbbbb
</p>
</div>
<div class="col-lg-3" ng-show="myVar">
<p>
cccccc
</p>
</div>
<div class="col-lg-3">
<p>
bbbbb
</p>
</div>
</div>
</div>
Here I have placed 4 boxes in a row.
I have initialized a variable called myvar.Based on myVar variable some boxes may hide.
So when a boxed is hidden, the width of other boxes should be managed that is width should be increased. there should be no extra space.
If width is col-lg-3 means it should be changed to col-lg-4 when a box is hidden.
fiddle : https://jsfiddle.net/euxcj3qb/14/
How to do this? Can anyone give me some suggestions?