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 to create border using images by css3?
What is css and its type?
What is the purpose of % measurement unit?
What are the advantages of inline css?
Can you write css3 code for creating boarder image?
What is ict in shs?
Can more than one declaration be added in CSS?
With the help of examples explain grouping and nesting of css selectors.
What is box sizing in css?
How to make scroll bars with the help of css?
Declare all elements with class of “blue-text” to have a text color of blue.
How to select all paragraph elements with a lang attribute?
How to create rounded corners?
What does it mean to cascade something?
How do you represent a class in css?