Math with variables in css 4

Hi there,

We used to have some “logic” in our css back in ionic 3. Where we would define a integer in a sass varaible and on other sass variable divide them by x or add them together. We would than add “px” to the end and when compiling sass it would work fine.

However it seems that css 4 does not support this option. The following code just does not seem to apply.

--finalValue: (var(--firstValue) + var(--secondValue))+px;

If anyone has any idea about this that would be great.

With best regards,