Skip to content

Instantly share code, notes, and snippets.

@furzeface
Last active December 29, 2015 16:19
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 furzeface/7696931 to your computer and use it in GitHub Desktop.
Save furzeface/7696931 to your computer and use it in GitHub Desktop.
A quick little tip to help me see which query a device is using, adding an element on the page and in each media query, adding a string via the content attribute.
.query {
position:absolute;
top: 5px;
left: 5px;
}
.query:after{
content: "[YOUR MEDIA QUERY HERE]";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment