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
How do style sheets cascade?
Why do we use css?
If background and colour should always be set together, why do they exist as separate properties?
Please explain the types of css?
Which property is used to control the position of an image in the background?
How we can add border to a image?
How CSS style overriding works?
Write all the properties of flexbox.
Explain the term responsive web design.
What is class in html and css?
What is default z index?
Which property is used to set the background color of an element?
What is Descendant Selector?
What does div stands for?
How do you change the font type?