What does * { box-sizing: border-box; } do? What are its advantages?
Answer Posted / 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 View All Answers
explain CSS box model?
What is attribute selector?
How many levels of style sheets are there?
What is the purpose of pc measurement unit?
How do I enable cascading style sheet in css?
Why are there gaps above and below my form in ie?
What is the word wrap/word wrapping in css3?
What is css3?
Explain the scenario you would use translate() instead of absolute positioning?
what is the overflow property in css used for?
Why css box model is used? What are the elements that it includes?
Why does my content shift to the left on some pages (in ff)?
What is dynamic xpath?
How do we comment a CSS file?
Why is an external style sheet beneficial?