Created
December 15, 2021 19:52
-
-
Save Wakkos/f9fb0c7e600885983c39bfcaa7c5bfb4 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
$small : 48em; | |
$medium : 56.25em; | |
$large : 1600px; | |
@mixin respond-to($breakpoint: $medium) { | |
@media (min-width: $breakpoint) { | |
@content; | |
} | |
} | |
.image-test { | |
background-image: url(../../images/logan-480.jpg); | |
background-position: center; | |
background-repeat: no-repeat; | |
background-size: cover; | |
height: 100vh; | |
width: 100vw; | |
@include respond-to() { | |
background-image: url('../../images/logan-900.jpg') | |
} | |
} |
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
.image-test { | |
background-image: url(../../images/logan-480.jpg); | |
background-position: center; | |
background-repeat: no-repeat; | |
background-size: cover; | |
height: 100vh; | |
width: 100vw; | |
} | |
@media (min-width: 56.25em) { | |
.image-test { | |
background-image: url("../../images/logan-900.jpg"); | |
} | |
} |
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
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment