I'm a Systems Reliability and DevOps engineer for Netdata Inc. When not working, I enjoy studying linguistics and history, playing video games, and cooking all kinds of international cuisine.
The difficulty of reusing styling. In essence, I'm very much of the opinion that CSS should natively have functionality equivalent to the @extend and @mixin/@include functionality in SASS.
I quite regularly have situations where elements with class A will always have class B as well, but the reverse is not also true, and class B is in a third-party library so I can't directly reuse it's styling without duplicating it. This is actually one of the biggest things that's pushed me towards using SASS in the first place instead of plain CSS (that, and it lets me ship a single style-sheet with everything, thus reducing the number of render-blocking resources).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The difficulty of reusing styling. In essence, I'm very much of the opinion that CSS should natively have functionality equivalent to the
@extend
and@mixin
/@include
functionality in SASS.I quite regularly have situations where elements with class A will always have class B as well, but the reverse is not also true, and class B is in a third-party library so I can't directly reuse it's styling without duplicating it. This is actually one of the biggest things that's pushed me towards using SASS in the first place instead of plain CSS (that, and it lets me ship a single style-sheet with everything, thus reducing the number of render-blocking resources).