9 ms·
I agree. I tend to prefix my modifiers with "is-", though so that you know it is a modifier. e.g. ".mybutton.is-skewed" and then never have a standalone ".is-"
by christophilus 11y ago
I agree. I tend to prefix my modifiers with "is-", though so that you know it is a modifier. e.g. ".mybutton.is-skewed" and then never have a standalone ".is-" rule. They are always modifiers only.
- Kequc 11y agoThe modifier I use is longer, but I might switch to is-, that seems like a nice convention.