Created
February 5, 2020 11:42
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
// States should also be easily identifiable. | |
// Because they're connected to dynamic behavior! | |
// And you want to quickly spot them | |
// do! | |
.example { | |
&__list { | |
&-isCollapsed { | |
// code | |
} | |
&-isExpanded { | |
// code | |
} | |
} | |
// don't | |
.example { | |
&__listExpanded { | |
// code | |
} | |
&__listCollapsed { | |
// code | |
} | |
// that looks like a modifier,...done wrong! | |
&__listItem--noIcon { | |
// code | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment