CSS BOX MODEL : CHANGING THE BOX MODEL REVIEW (with Youtube Video)
CHANGING THE BOX MODEL
In this lesson, you learned about an important limitation of the default box model: box dimensions are affected by border thickness and padding.
Let’s review what you learned:
- In the default box model, box dimensions are affected by border thickness and padding.
- The
box-sizing
property controls the box model used by the browser. - The default value of the
box-sizing
property iscontent-box
. - The value for the new box model is
border-box
. - The
border-box
model is not affected by border thickness or padding.
Comments
Post a Comment