Skip to content

Instantly share code, notes, and snippets.

@edwinwebb
Created November 12, 2014 10:48
Show Gist options
  • Save edwinwebb/353d7a87194a357aeb77 to your computer and use it in GitHub Desktop.
Save edwinwebb/353d7a87194a357aeb77 to your computer and use it in GitHub Desktop.
Breakpoint indicator
body:before {
position: fixed;
content: "No Breakpoint";
background: white;
color:black;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25em;
top:10px;
left:10px;
pointer-events: none;
font-family: sans-serif;
padding: .2em .6em .3em;
text-transform: uppercase;
font-size:1rem;
z-index:500;
@include media(mobile) { content: "mobile"}
@include media(phablet) { content: "phablet"}
@include media(tablet) { content: "tablet"}
@include media(desktop) { content: "desktop"}
@include media(xxl) { content: "xxl"}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment