html - bootstrap 3 columns (hide empty col) -


i have html code on site:

<div id="main" class="col-md-9 col-xs-12"></div> <div id="right" class="col-md-3 col-xs-12"></div> 

it's possible hide 'right' column if empty in 'md' size ? , resize 'main' col-md-12 thx

i found similar question : bootstrap 3 - hide empty grid column

normally you'd use php (or particular server-side language) logic apply appropriate bootstrap classes depending on whether there's content in column or not. shouldn't done css.

(you use javascript/jquery)


Comments

Popular posts from this blog

How to group boxplot outliers in gnuplot -

cakephp - simple blog with croogo -

bash - Performing variable substitution in a string -