Login
Remember
Register
Ask a Question
Explain Different Box Sizing Property?
+1
vote
asked
Jul 7, 2021
in
CSS
by
rajeshsharma
What is Different Box Sizing Property?
box-sizing-property
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 7, 2021
by
rajeshsharma
The box-sizing CSS property sets how the total width and height of an element are calculated.
Content-box: The default width and height values apply to the element's content only. The padding and border are added to the outside of the box.
Padding-box: Width and height values apply to the element's content and its padding. The border is added to the outside of the box. Currently, only Firefox supports the padding-box value.
Border-box: Width and height values apply to the content, padding, and border.
...