Skip to content

Instantly share code, notes, and snippets.

@eyy
Created August 4, 2015 13:13
Show Gist options
  • Save eyy/53292ee421a911231399 to your computer and use it in GitHub Desktop.
Save eyy/53292ee421a911231399 to your computer and use it in GitHub Desktop.
Media query mixins for Stylus
// Media query mixins
mobile()
@media (max-width: 640px)
{block}
tablet()
@media (max-width: 800px)
{block}
desktop()
@media (max-width: 1200px)
{block}
@holykol
Copy link

holykol commented Jan 12, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment