Created
July 15, 2022 20:20
-
-
Save svaustin66/5ae7c4572504385d776774eb2d3b14d6 to your computer and use it in GitHub Desktop.
Show / Hide elements between desktop and mobile
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
.show-mobile { display: none; } | |
.show-desktop { display: block; } | |
@media screen and (max-width: 798px) { | |
.show-mobile { display: block; } | |
.show-desktop { display: none; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment