csso icon indicating copy to clipboard operation
csso copied to clipboard

Evaluate calc expressions

Open vithar opened this issue 7 years ago • 3 comments

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) }

vithar avatar Mar 28 '18 07:03 vithar

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.

kizu avatar Mar 29 '18 12:03 kizu

hello! is there any possibility to have this issue resolved in reasonable time?

tadatuta avatar May 26 '19 19:05 tadatuta

I have no plans to work on this feature in near future. So only if somebody else will take it in work...

lahmatiy avatar May 26 '19 20:05 lahmatiy