0

I am pretty new to bootstrap but I was trying to implement the grid system. I wanted to know if it was possible to check what size column is currently running and then adjust your css based off of it. So if it was col-lg-12 it would do nothing but if it became col-md-12 then it would change .class {display: block;} to .class{display: inline;}

  • how about using media queries for your breakpoints and then override the display type for the specific class. – gabereal Oct 03 '14 at 02:32

1 Answers1

0

JS to monitor the CSS property change like "display:none"=>"display:block"?

Maybe try using the following to catch changes to property and adjust the display property in the handler?

Community
  • 1
  • 1
Drew
  • 2,583
  • 5
  • 36
  • 54