如果你使用的是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);}
/*刪除第一項和最后一項導(dǎo)航分隔線*/
.nav li:first-child::before{background-image: none;}
/*刪除第一項和最后一項導(dǎo)航分隔線*/
.nav li:first-child::before{background-image: none;}
2014-12-22
/*使用偽元素制作導(dǎo)航列表項分隔線*/
.nav li:before{ content:"|"; color:#666; position:absolute; left:-1px; }
/*刪除第一項和最后一項導(dǎo)航分隔線*/
.nav li:first-child:before{content:"";}
.nav li:before{ content:"|"; color:#666; position:absolute; left:-1px; }
/*刪除第一項和最后一項導(dǎo)航分隔線*/
.nav li:first-child:before{content:"";}
2014-12-22
在看了前面兩位的基礎(chǔ)上想好久才做出來效果。。。
.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