Created
August 10, 2017 00:56
-
-
Save benatkin/9e939511341d6bf635b52a47124f34da 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
// ---- | |
// Sass (v3.4.21) | |
// Compass (v1.0.3) | |
// ---- | |
// sass scoping | |
body { | |
$wow: url(doge.jpg); | |
background-image: $wow; | |
} | |
$gobstopper: url('gobstopper.png'); | |
.gobstopper { | |
background-image: $gobstopper; // change to $wow and get an error | |
} |
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
body { | |
background-image: url(doge.jpg); | |
} | |
.gobstopper { | |
background-image: url("gobstopper.png"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment