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-sizingproperty controls the box model used by the browser. - The default value of the
box-sizingproperty iscontent-box. - The value for the new box model is
border-box. - The
border-boxmodel is not affected by border thickness or padding.
Comments
Post a Comment