Skip to content

Instantly share code, notes, and snippets.

@sebastiano-guerriero
Created February 12, 2019 14:58
Show Gist options
  • Select an option

  • Save sebastiano-guerriero/9c9c6a6b93a18eec27eb00feb4602d60 to your computer and use it in GitHub Desktop.

Select an option

Save sebastiano-guerriero/9c9c6a6b93a18eec27eb00feb4602d60 to your computer and use it in GitHub Desktop.
@include breakpoint(xs) {
.display--xs {
display: block !important;
}
.hide--xs {
display: none !important;
}
}
@include breakpoint(sm) {
.display--sm {
display: block !important;
}
.hide--sm {
display: none !important;
}
}
@include breakpoint(md) {
.display--md {
display: block !important;
}
.hide--md {
display: none !important;
}
}
@include breakpoint(lg) {
.display--lg {
display: block !important;
}
.hide--lg {
display: none !important;
}
}
@include breakpoint(xl) {
.display--xl {
display: block !important;
}
.hide--xl {
display: none !important;
}
}
// component code - not included in the _visibility.scss file
.component div {
display: inline-block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment