TOP CATEGORIES

×

What is the Box Size CSS property?

J

Jotshna Upadhay

CSS Box-Size Property-

The CSS box-sizing property allows us to include the padding and border property in an element's total width and height property. For example, just design a box-model with 100px box-width, 100px of height, 5px border, and 5px padding of the box it means that the actual width and height of box-size is 110px.

Basic Formulas of Box-Size

  • width + padding + border = actual width of an element
  • height + padding + border = actual height of an element

box size
0 votes

Your Answer

Email: advertise@gdatamart.com

Donate: To Support US

© 2024 GDATAMART.COM (All Rights Reserved)