摘要:
.wrap{ display: -webkit-box; display: -moz-box; display: box; /* display: -webkit-flex;display: -moz-flex;display: flex; */ width: 100%;height: 13px;p 阅读全文
摘要:
例如: 网站头部和导航条之间有个box-shadow区分下,但是ie9以下浏览器不识别,这时候我们就要加上边框了 .g-header:not(ie8){box-shadow: 0 3px 4px rgba(153, 153, 153, 0.4);border-bottom:none;} .g-hea 阅读全文
摘要:
使用数字值时,其所有后代元素的line-height为后代元素自身的font-size乘以该父元素设置的line-height数值;而当使用百分比时,其所有后代元素的line-height的具体高度与该父元素的line-height相等(即都为该父元素的font-size乘以该父元素的line-he... 阅读全文