Last active
October 29, 2018 12:35
-
-
Save mrzarkovic/38d7bcb2292de38fd97436926e67f6b8 to your computer and use it in GitHub Desktop.
SASS partials
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
// _menu.scss | |
.menu { | |
background: red; | |
color: white; | |
& > ul { | |
& > li { | |
display: block; | |
} | |
} | |
} | |
// main.scss | |
@import 'menu'; | |
html, body { | |
position: relative; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment