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 is a pseudo selector?

0 Answers  


What are image sprites?

0 Answers  


How to group css definitions together?

0 Answers  


Give an example of how you would use counter-increment and counter-reset in css to create automatic numbering within a webpage.

0 Answers  


How do you cascade information effectively?

0 Answers  






How do I open a css file?

0 Answers  


What does it mean to cascade something?

0 Answers  


What is a benefit of using a style sheet?

0 Answers  


Where do I put css?

0 Answers  


What is the use of % unit?

0 Answers  


Is json a markup language?

0 Answers  


What is property?

0 Answers  


Categories