Last active
July 5, 2016 15:06
-
-
Save publicJorn/95ceab4d49f260d1d9591e784adddcb4 to your computer and use it in GitHub Desktop.
Shows the breakpoint in the upper left corner.
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; | |
top: 0; | |
left: 0; | |
z-index: 100000; | |
box-sizing: border-box; | |
display: block; | |
padding: 5px; | |
font-size: 12px; | |
font-family: sans-serif; | |
background: #fefaa5; | |
border: 1px solid #fff628; | |
content: 'xs'; | |
} | |
@media (min-width: 480px) { body::before {content: 'sm';}} /* $screen-sm-min (bootstrap) */ | |
@media (min-width: 768px) { body::before {content: 'md';}} /* $screen-md-min */ | |
@media (min-width: 992px) { body::before {content: 'lg';}} /* $screen-lg-min */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment