dagda1 dagda1 - 1 year ago 89
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>

Answer Source

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; }  
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download