unexpected term with postcss on calc()

Hi,

 

I use postcss and when I put a var into a calc with 'px' after, I have an error. Only in webstorm, nothing in my brother or in npm. It works perfectly in my browser.

I tried in Atom and no error.

 

Thx.

0
2 comments
Avatar
Permanently deleted user

I have installed the plugin PostCSS support of course...

0

is it a valid syntax? looks like building up a single token where part is provided by a variable, which is not allowed according to https://www.w3.org/TR/css-variables-1/#defining-variables

 

what npm module do you use to validate this postcss?

0

Please sign in to leave a comment.