Found 1 bookmarks
Newest
A Couple of Use Cases for Calc()
A Couple of Use Cases for Calc()
calc() is a native CSS way to do simple math right in CSS as a replacement for any length value (or pretty much any number value). It has four simple math operators: add (+), subtract (-), multiply (*), and divide (/). Being able to do math in code is nice and a welcome addition to a language that is fairly number heavy.
·css-tricks.com·
A Couple of Use Cases for Calc()