Skip to content

Instantly share code, notes, and snippets.

@MariaJackson1
Created September 15, 2017 10:03
Show Gist options
  • Select an option

  • Save MariaJackson1/bbb2bccbc0a4524e3f5e77ef3669b12a to your computer and use it in GitHub Desktop.

Select an option

Save MariaJackson1/bbb2bccbc0a4524e3f5e77ef3669b12a to your computer and use it in GitHub Desktop.
To show certain contents in desktop only
<div class="hide-on-mobile hide-on-tablet">
Content here will only display in Desktop
</div>
@MariaJackson1

Copy link
Copy Markdown
Author

Using our hide-on-* classes

To hide/show certain contents depending on devices, you can use the three handy built-in classes below:
hide-on-mobile
hide-on-tablet
hide-on-desktop

Some example usages:

– To hide certain menu items on mobile, you can add hide-on-mobile to the Custom Classes field.

@Assimilationstheorie

Copy link
Copy Markdown

Please add BreakePoint-Sizes. :)

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