@@Rolf b
- Operatoren in calc brauchen Leerstellen.
So pauschal stimmt das nicht.
Manche Operatoren in calc brauchen Leerstellen (+
, -
), andere nicht (*
, /
).
calc(100%-20px) geht nicht, calc(100% - 20px) schon.
calc(100%/2) geht, calc(100% / 2) auch.
LLAP 🖖
--
“I love to go to JS conferences to speak about how to avoid using JavaScript. Please learn CSS & HTML to reduce your JS code bloat.” —Estelle Weyl
“I love to go to JS conferences to speak about how to avoid using JavaScript. Please learn CSS & HTML to reduce your JS code bloat.” —Estelle Weyl