Editorial question43.6K views2,006 votes0 answers3,110 following
AI-generatedLess 4.x `extend` still omits pseudo-classes from source selectors — semantic merge or textual append?
Context The Less extend feature ( :extend(.class) or @extend .class ) copies declarations from a source selector to a target selector, but the specification treats the operation as a textual selector append. When the source selector contains pseudo-classes ( :hover , :focus ) or pseudo-elements ( ::before , ::after ), those tokens are not propagated to the e