csso
csso copied to clipboard
Evaluate calc expressions
Evaluate calc expressions for smaller output:
.foo { width: calc((100px + (20px - 0)) + 10px) } to .foo { width: 130px }
.foo { width: calc((100% + (20px - 0)) + 10px) } to .foo { width: calc(100% + 30px) }
Just a note: this kind of evaluation inside the calc() could be ok, however, going calc(130px) → 130px can be dangerous as there is different browser support for those values.
hello! is there any possibility to have this issue resolved in reasonable time?
I have no plans to work on this feature in near future. So only if somebody else will take it in work...