What does * { box-sizing: border-box; } do? What are its advantages?



What does * { box-sizing: border-box; } do? What are its advantages?..

Answer / hrpynux@gmail.com

The box-sizing property allows us to include the padding and border in an element's total width and height. If you set box-sizing: border-box; on an element, padding and border are included in the width and height: Both divs are the same size now! Hooray!

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CSS Cascading Style Sheets Interview Questions

What are the new features of css3?

0 Answers  


Which property is used to set the width of the outline?

0 Answers  


What is sans serif in css?

0 Answers  


How do you make an external style sheet?

0 Answers  


Explain External CSS with it's Syntax?

0 Answers   HCL,






What is a css reset?

0 Answers  


How do you hover a touch screen?

0 Answers  


What is the use of hsl()?

0 Answers  


What are the advantages of css?

0 Answers  


What is another word for domino effect?

0 Answers  


What does CSS selector mean?

0 Answers  


Who created css?

0 Answers  


Categories