2019-11-24
Negative variables
It's not possible to use negative variables out of the box like this -var(--size);
Instead you need to multiply the variable with -1
.
calc(var(--size) * -1);
Demo
As you can see is it pulling the div to the left instead of pushing it to the right.
Comments