Different Box Sizing Property?

Answer

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.

All css Questions

Ask your interview questions on css

Write Your comment or Questions if you want the answers on css from css Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---