3 ms·
Ideally we shouldn’t have to name things that are never reused. Often class names are only ever used once. There isn’t much benefit in naming the class.
by meowtimemania 3y ago
Ideally we shouldn’t have to name things that are never reused. Often class names are only ever used once. There isn’t much benefit in naming the class.
- M4v3R 3y agoYeah, this is exactly my point. I still need to name my reusable components, but I don’t need to name every single html element I want to style.
- tipiirai 3y agoYou only need to name the top-level element. Others can be styled with CSS selectors. Nesting is supported with Lightning CSS today.