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
657 stars 169 forks source link

Incompatible units: 'px' and 'vw' #305

Open steebn opened 4 years ago

steebn commented 4 years ago

Getting:

Compilation Error
Internal Error: Incompatible units: 'px' and 'vw'.

When using the valid CSS syntax width: min( 90vw, 1300px );

https://developer.mozilla.org/en-US/docs/Web/CSS/min

turquoise8 commented 3 years ago

Could you find a solution to that? I'm experiencing the same problem.

glenn2223 commented 3 years ago

This uses an old version of sass, one that doesn't recognise that min() is now a built in CSS function.

If you want to use this feature - and other recent CSS and sass features - then it's recommend switching to my maintained fork of this extension. You can read more at #486