Skip to content

Instantly share code, notes, and snippets.

@svaustin66
Created July 15, 2022 20:20
Show Gist options
  • Save svaustin66/5ae7c4572504385d776774eb2d3b14d6 to your computer and use it in GitHub Desktop.
Save svaustin66/5ae7c4572504385d776774eb2d3b14d6 to your computer and use it in GitHub Desktop.
Show / Hide elements between desktop and mobile
.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