Created
July 7, 2016 20:22
-
-
Save ThomasCrevoisier/9820e15d589e3ed137cff32600ed232d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// In a file main.scss | |
@import 'plop'; | |
@import 'hey'; | |
// module _plop.scss | |
@mixin plop { | |
background: red; | |
} | |
// module _hey.scss | |
.hey { | |
@include plop; | |
} | |
// Conclusion | |
// -> the module _hey.scss can use everything defined in the module _plop.scss without importing it... | |
// -> looking at _hey.scss, the relation between the mixin plop and _plop.scss is far from obvious... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment