没有合适的资源?快使用搜索试试~ 我知道了~
首页CSS in Depth--2018
CSS in Depth exposes you to a world of CSS techniques that range from clever to mind-blowing. This instantly useful book is packed with creative examples and powerful best practices that will sharpen your technical skills and inspire your sense of design.
资源详情
资源评论
资源推荐

Box model and border-box sizing
The box model refers to the composition of elements on a page. When you specify the
height or width of an element, you’re setting the content size—any padding, border, and
margin will be added to that.
Applying
box-sizing:
border-box
to an element changes the box model to a more pre-
dictable behavior. Setting height or width will control the size of the entire element,
including its padding and border.
See chapter 3 for information on applying border-box sizing to the entire page, as well as
other important concepts including:
Centering content
Creating columns of equal height
Controlling spacing between elements
Width
Height
Content
Padding
Border
Margin
Width
Height
Content
Padding
Border
Margin
www.allitebooks.com
剩余472页未读,继续阅读


















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0