Search Question

What is the Box Size CSS property?

By: Om Prakash | 29 February 2020


Jotshna Upadhay

06 March 2020

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

0 votes

Your Answer


GDATAMART.COM is optimized for learning & job information; The users try to improve your knowledge and practical experience through this site but we cannot warrant full correctness of all content... Learn More →

© 2020 GDATAMART | All Rights Reserved