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!
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the common values used in 2d transforms?
How grouping happens inside a css?
How would you style an image or element to have rounded corners?
What are the common values used in 3d transforms?
How are contextual selectors used in css?
What is text align justify?
What is the use and syntax of class in css?
How to use ids to override classes in css?
Discuss the merits and demerits of Embedded Style Sheets?
What is css box model and also explain its elements?
How do I link an external css?
Name a few prominent css frameworks.
How to check coding errors in css?
How do I change the font color automatically in excel?
What are contextual selectors?