Skip to content

Instantly share code, notes, and snippets.

@jelmerdemaat
Created October 8, 2019 12:51
Show Gist options
  • Save jelmerdemaat/901ec69764c1812d9bfa8a1fabad4376 to your computer and use it in GitHub Desktop.
Save jelmerdemaat/901ec69764c1812d9bfa8a1fabad4376 to your computer and use it in GitHub Desktop.
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