dagda1 dagda1 - 5 months ago 8x
HTML Question

Hide table rows for mobile or tablet

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.


<td class="mobile-hidden tablet-hidden">blah</td>


You can use media queries. Hope you aware of media queries.

@media screen and (min-width: 401px) and (max-width: 1024px) {
  .tablet-hidden { display: none; }