Skip to content

Instantly share code, notes, and snippets.

@newdecline
Created November 28, 2019 06:25
Show Gist options
  • Save newdecline/90ec47849326880a45627f30d336e5c8 to your computer and use it in GitHub Desktop.
Save newdecline/90ec47849326880a45627f30d336e5c8 to your computer and use it in GitHub Desktop.
Mediaquerys in JS
window.matchMedia( "(min-width: 1366px)" ).matches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment