How does Calc work?

Calc can be used to specify the result of the mathematical operation of two or more elements. For example to specify the width elements by the addition of two or more elements, we can write as

.foo {

Width: calc(100px+50px)

}


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *