csstools / postcss-extend-rule

Use the @extend at-rule and functional selectors in CSS
https://jonathantneal.github.io/postcss-extend-rule/
Creative Commons Zero v1.0 Universal
51 stars 7 forks source link

Version 3.x.x breaks pseudo selector extensions #8

Closed fatlard1993 closed 8 months ago

fatlard1993 commented 4 years ago

The following example works in 2.x.x and not in 3.x.x:

.test {
  display: none;
}

.thing:before {
  @extend .test;
}
romainmenke commented 8 months ago

This has since been fixed.

On the latest version I get :

.test {
    display: none;
}

.thing:before {
    display: none;
}