compiler errors - LESS, compile issues -


i'm using visual studio 2012 , web essential 2012 , less generates css not as, expected

//style.less   .selector{      max-height: calc(100vh - 200px)  } 

in style.css it's generates this

//style.css .selector{       max-height: calc(-100vh); } 

any ideas?

you have use "escape" function suggested in this answer similar question.

.selector{      max-height: calc(100vh ~"-" 200px); } 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -