nathansmith / unsemantic

Fluid grid for mobile, tablet, and desktop.
http://unsemantic.com
MIT License
1.38k stars 161 forks source link

hide-on-[platform] for Sass? #27

Closed bmounteer closed 10 years ago

bmounteer commented 10 years ago

I am new to Sass, and I am exploring using your grid with it, which is already awesome. Is there a @extend to use the hide-on-tablet or hide-on-mobile classes on a div in a scss file, or do we just apply that class manually in the html?

nathansmith commented 10 years ago

If you're using the *.css that is in the Zip file that can be downloaded from the Unsemantic site, you can just use that class name as-is.

<div class="hide-on-mobile">…</div>

That should be all you need to do.

bmounteer commented 10 years ago

Awesome thanks!

nathansmith commented 10 years ago

You're welcome. :)