Created
September 15, 2017 10:03
-
-
Save MariaJackson1/bbb2bccbc0a4524e3f5e77ef3669b12a to your computer and use it in GitHub Desktop.
To show certain contents in desktop only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="hide-on-mobile hide-on-tablet"> | |
| Content here will only display in Desktop | |
| </div> |
Author
Please add BreakePoint-Sizes. :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.