Last active
August 29, 2015 14:02
-
-
Save frontendbeast/f86b4ef0837d6ed41e2c to your computer and use it in GitHub Desktop.
Quick realtime view of the current breakpoint
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:after { | |
content: 'XS'; | |
@include respond-min($mq--sm) { | |
content: 'SM'; | |
} | |
@include respond-min($mq--md) { | |
content: 'MD'; | |
} | |
@include respond-min($mq--lg) { | |
content: 'LG'; | |
} | |
/* Stick it where you like, however you like */ | |
position: absolute; | |
bottom: 0; | |
right: 0; | |
background-color: #000; | |
color: #FFF; | |
line-height: 0.9; | |
padding: 0.25rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The mixin referenced is from http://jakearchibald.github.io/sass-ie/ but could just as easily be a plain old media query.