Last active
December 19, 2018 12:35
-
-
Save elvism16/f89327bf9c75f112de36004ea0239257 to your computer and use it in GitHub Desktop.
BEM with at-root directive
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
.block { | |
display: block; | |
@at-root #{&}__element { | |
position: relative; | |
} | |
@at-root #{&}--modifier { | |
display: flex; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment