I am using twitter bootstrap 3.3 and I want to hide certain columns when in mobile or tablet mode.
Are there specific classes that I can use to hide the columns when in mobile or tablet.
e.g.
<td class="mobile-hidden tablet-hidden">blah</td>
I am using twitter bootstrap 3.3 and I want to hide certain columns when in mobile or tablet mode.
Are there specific classes that I can use to hide the columns when in mobile or tablet.
e.g.
<td class="mobile-hidden tablet-hidden">blah</td>
4
Answers
Not sure about device targeting but you can use the Utility Classes:
should work
You can use media queries. Hope you aware of media queries.
There are Bootstrap classes:
hidden-xs
hidden-sm
But, for some reason, there seems to be a glitch where you can only use one of them on some devices.
For exaple, if I have
<td class='hidden-xs hidden-sm'>
, then it only hides for the tablet size, or ‘sm’.Refer link : http://v4-alpha.getbootstrap.com/layout/responsive-utilities/
To display only on medium devices, you can combine the two: