摘要: 自然顺序,盒子模型 .block:nth-child(1){ //第一个类名为.clock 的标签添加样式。 position: static; //static,会直接忽略所有的偏移量关键字,如下面的top,left,bottom,right,z-index。 top: 20px; left: 2 阅读全文
posted @ 2019-04-05 14:33 最好的安排 阅读(306) 评论(0) 推荐(0) 编辑
摘要: inherit兼容性:Internet Explorer6-11版本都不支持属性值 "inherit"。不支持background-attachment:scroll 或者 fixed 背景为图片时,是否随滚动条滚动。 float浮动兼容性:方法一:在浮动元素后面添加一个空的<div class=" 阅读全文
posted @ 2019-04-05 10:06 最好的安排 阅读(389) 评论(0) 推荐(0) 编辑

Knowledge is infinite