Skip to content

Instantly share code, notes, and snippets.

@bricss
Last active June 8, 2019 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bricss/8945161 to your computer and use it in GitHub Desktop.
Save bricss/8945161 to your computer and use it in GitHub Desktop.
Wild way of viewport breakpoints checkout(s)
/*!
* @media (min-width: 1200px) {
* body:after {
* content: 'widescreen';
* display: none;
* }
* }
*/
export default () => window.getComputedStyle(document.body, ':after').getPropertyValue('content');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment