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
What are the different elements of css box model?
What is css code?
What is css width?
Why do we use div tag in css?
Is z index relative to parent?
What is css1 and css2?
Can default property value be restored through CSS? If yes, how?
How do I center a ul list in css?
How inline and block elements are different from each other?
What is the css3 hsl() function?
Comment on the Case-sensitivity of CSS ?
Can you nest flexbox?
How do I center a div in a div?
How can we calculate specificity?
Explain the types of css?