stephenlacy / gulp-stylus

Stylus plugin for gulp
MIT License
223 stars 60 forks source link

problem with calc(100% + ...) #193

Closed scoutrul closed 7 years ago

scoutrul commented 7 years ago

Hey, i found a bag with calc() function in :after element. I tryed to compile this &:after max-width: calc(100% - 0.16rem); but got error:

TypeError: expected string, ident or literal, but got unit:100%

And i found a solution: max-width: calc('100% - 0.16rem')

stephenlacy commented 7 years ago

This issue should be opened on the stylus main repo, not this project