Skip to content

Instantly share code, notes, and snippets.

@sebastiano-guerriero
Created February 14, 2019 09:37
Show Gist options
  • Save sebastiano-guerriero/747017eb9c528faad652989bcdb9793a to your computer and use it in GitHub Desktop.
Save sebastiano-guerriero/747017eb9c528faad652989bcdb9793a to your computer and use it in GitHub Desktop.
@media only screen and (max-width: map-get($map: $breakpoints, $key: xs) - 0.05rem) {
.display--xs, .display--sm, .display--md, .display--lg, .display--xl {
display: none !important;
}
}
@media only screen and (max-width: map-get($map: $breakpoints, $key: sm) - 0.05rem) {
.display--sm, .display--md, .display--lg, .display--xl {
display: none !important;
}
}
@media only screen and (max-width: map-get($map: $breakpoints, $key: md) - 0.05rem) {
.display--md, .display--lg, .display--xl {
display: none !important;
}
}
@media only screen and (max-width: map-get($map: $breakpoints, $key: lg) - 0.05rem) {
.display--lg, .display--xl {
display: none !important;
}
}
@media only screen and (max-width: map-get($map: $breakpoints, $key: xl) - 0.05rem) {
.display--xl {
display: none !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment