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).
Can I use calc() with border-width? I would like the following CSS to work: .my-element { border-left-width: calc(10% + 10px); border-right-width: calc(10% + 20…
html css css-calc