ritwickdey / vscode-live-sass-compiler

Compile Sass or Scss file to CSS at realtime with live browser reload feature.
https://ritwickdey.github.io/vscode-live-sass-compiler/
MIT License
660 stars 168 forks source link

not() selector not working #578

Closed MatiX221 closed 2 years ago

MatiX221 commented 2 years ago

I have this SCSS code

h1 {
    &:not(div h1) {
        text-decoration: underline;
        &.header {
            font-family: Arial, cursive;
        }
    }
}

And my visual studio code outputs this in css

h1 {
  text-decoration: underline;
}

h1.header {
  font-family: Arial, cursive;
}

but when i use https://www.sassmeister.com i get this

h1:not(div h1) {
  text-decoration: underline;
}
h1:not(div h1).header {
  font-family: Arial, cursive;
}

i dont know why this not() is not working