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 you use span?
How do you increase font size?
Difference between reset.css and normalize css?
Define ‘important’ declarations used in css.
What are contextual selectors?
What is embedded style? How to link?
What is float in css for?
How to make scroll bars with the help of css?
What are the advantages external style sheets?
Enlist the various fonts attributes?
What are the types of style sheets?
Name the property used to specify the background color of an element.
What is new in css3 and html5?
How many levels of style sheets are there?
Explain the difference in approach when designing a responsive website over a mobile-first strategy?