Different Box Sizing Property?

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


Please Help Members By Posting Answers For Below Questions

What are the css rules?

304


What is the difference between a section and a div?

264


Why do we need to use css?

276


How do you center text?

289


What is a universal selector in css?

263






What is External Style Sheet? How would you link to it?

252


What is css3 outline offset?

282


How do I change my background?

281


Why flex is used in css?

309


What is the difference between css3 and css4?

810


What is inline style? How to link?

291


What are the benefits of using css?

336


How do you clear a float?

269


What is media query?

235


What is a fully responsive website?

283