CSS with nested calc broken
-
Hi there,
Just noticed that this (weird, but legal) CSS value breaks using the plugin
calc(10px - calc(2rem / 2))though there is no reason to do that it is legal 😉
the plugin changes it to
calc(10px - )calc(2rem / 2))adding an extra closing braket and breaking the value.
Not urgent as I could just simplify the calc function value, but wanted to let you know.
Examples:
1. https://stackoverflow.com/questions/27597034/calc-function-inside-another-calc-in-css#36414853
2. https://developer.mozilla.org/en-US/docs/Web/CSS/calc()#nested_calc_with_css_variables
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘CSS with nested calc broken’ is closed to new replies.