摘要: Every browser that supports the double colon (::) CSS3 syntax also supports just the (:) syntax, but IE 8 only supports the single-colon, so for now, 阅读全文
posted @ 2018-05-23 13:46 田木夕 阅读(104) 评论(0) 推荐(0) 编辑
摘要: box-sizing属性让css布局更容易并且更直观。但是为什么它有效又被热爱,先让我们看下它的历史。 盒子模型历史 自从css诞生,盒子模型就这样默认的工作: width + padding + border = 元素被渲染的/实际可见的宽度 height + padding + border = 阅读全文
posted @ 2018-05-23 13:11 田木夕 阅读(209) 评论(0) 推荐(0) 编辑