Created
November 12, 2014 10:48
-
-
Save edwinwebb/353d7a87194a357aeb77 to your computer and use it in GitHub Desktop.
Breakpoint indicator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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