Last active
October 22, 2017 15:41
-
-
Save ZeeCoder/3abb6bd141a7b435ed9f623c7d104104 to your computer and use it in GitHub Desktop.
BEM syntax guideline for LESS
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 { | |
@b: ~'.block'; | |
&__element { | |
// ... | |
} | |
&--modifier { | |
// ... | |
&_val1 { | |
// ... | |
} | |
&_val2 { | |
// ... | |
} | |
} | |
&--bigmod { | |
// ... | |
@{b} { | |
&__element { | |
// ... | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment