Skip to content

Instantly share code, notes, and snippets.

@joshmoto
Created October 17, 2021 19:59
Show Gist options
  • Save joshmoto/33b47323fcd4069b6049bde627fbcaed to your computer and use it in GitHub Desktop.
Save joshmoto/33b47323fcd4069b6049bde627fbcaed to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
@mixin respond($breakpoint:false) {
@if $breakpoint == 'phone' {
@media only screen and (max-width: 37.5em) {
@content
}
}
@else if $breakpoint == 'tab-port' {
@media only screen and (max-width: 56.25em) {
@content
}
}
@else if $breakpoint == 'tab-land' {
@media only screen and ( max-width: 75em ) {
@content
}
}
@else if $breakpoint == 'big-desktop' {
@media only screen and ( max-width: 112.5em ) {
@content
}
}
}
@include respond('big-desktop') {
.blue {
display: none;
}
}
@media only screen and (max-width: 112.5em){.blue{display:none}}
{
"sass": {
"compiler": "dart-sass/1.32.12",
"extensions": {},
"syntax": "SCSS",
"outputStyle": "compressed"
},
"autoprefixer": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment