Created
October 8, 2019 12:51
-
-
Save jelmerdemaat/901ec69764c1812d9bfa8a1fabad4376 to your computer and use it in GitHub Desktop.
This file contains 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
html::before, | |
html::after { | |
display: none; | |
} | |
html::before { | |
content: to-string($breakpoints); | |
} | |
html::after { | |
content: none; | |
} | |
@each $breakpoint in $breakpoints { | |
$name: nth($breakpoint, 1); | |
@include respond-to($name) { | |
html::after { | |
content: $name; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment