Closed scoutrul closed 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:
&:after max-width: calc(100% - 0.16rem);
TypeError: expected string, ident or literal, but got unit:100%
And i found a solution: max-width: calc('100% - 0.16rem')
max-width: calc('100% - 0.16rem')
This issue should be opened on the stylus main repo, not this project
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:And i found a solution:
max-width: calc('100% - 0.16rem')