Skip to content

Instantly share code, notes, and snippets.

@anfibiacreativa
Created February 5, 2020 11:42
// 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