如果你使用的是Chrome,所以需要在在animation和keyframes加前缀-webkit-
-webkit-animation: changecolor 5s ease-out .2s;
@-webkit-keyframes changecolor{}
-webkit-animation: changecolor 5s ease-out .2s;
@-webkit-keyframes changecolor{}
2014-12-22
.nav li::before{content: "";position:absolute;top:17px;height: 15px;width: 1px;left:0px;background-image: linear-gradient(to top,#999,#000,#999);}
/*删除第一项和最后一项导航分隔线*/
.nav li:first-child::before{background-image: none;}
/*删除第一项和最后一项导航分隔线*/
.nav li:first-child::before{background-image: none;}
2014-12-22
/*使用伪元素制作导航列表项分隔线*/
.nav li:before{ content:"|"; color:#666; position:absolute; left:-1px; }
/*删除第一项和最后一项导航分隔线*/
.nav li:first-child:before{content:"";}
.nav li:before{ content:"|"; color:#666; position:absolute; left:-1px; }
/*删除第一项和最后一项导航分隔线*/
.nav li:first-child:before{content:"";}
2014-12-22
在看了前面两位的基础上想好久才做出来效果。。。
.nav li::before{content: "";position: absolute;top: 17px;height: 15px;width: 1px;left:0px;background-image: linear-gradient(to top,#B0483F,#B0483F);}
.nav li:first-child::before{background-image: none;}
.nav li::before{content: "";position: absolute;top: 17px;height: 15px;width: 1px;left:0px;background-image: linear-gradient(to top,#B0483F,#B0483F);}
.nav li:first-child::before{background-image: none;}
2014-12-20
<style>
div:not([id="footer"]){
background-color:orange;
}
</style>
为啥提示不对呢 ?哪里有问题?
div:not([id="footer"]){
background-color:orange;
}
</style>
为啥提示不对呢 ?哪里有问题?
2014-12-19