Computer Science, asked by harshit14265, 1 month ago

explain border-box in css​

Answers

Answered by anushree92004
3

Answer:

border-box tells the browser to account for any border and padding in the values you specify for an element's width and height. If you set an element's width to 100 pixels, that 100 pixels will include any border or padding you added, and the content box will shrink to absorb that extra width.

Similar questions