<style type="text/css">
a[class^=column] {
background:red;
color:#fff;
}
a[href $=doc]{
background:green;
color:#fff;
}
a[title *=box]{
background:blue;
color:#fff;
}
</style>
a[class^=column] {
background:red;
color:#fff;
}
a[href $=doc]{
background:green;
color:#fff;
}
a[title *=box]{
background:blue;
color:#fff;
}
</style>
2016-06-22
transition:propperty duration timing-function delay
2016-06-17
/*删除第一项和最后一项导航分隔线*/
.nav li:last-child:before{display:none;}
.nav li:last-child:before{display:none;}
2016-06-17
/*使用伪元素制作导航列表项分隔线*/
.nav li:before{content:"";width:1px;height:15px;display:inline-block;position:absolute;right:0;top:35%;
background-image: linear-gradient(to bottom,#f65f57, #8E8E8E ,#f65f57); }
/*删除第一项和最后一项导航分隔线*/
.nav li:last-child:before{background:none;}
.nav li:before{content:"";width:1px;height:15px;display:inline-block;position:absolute;right:0;top:35%;
background-image: linear-gradient(to bottom,#f65f57, #8E8E8E ,#f65f57); }
/*删除第一项和最后一项导航分隔线*/
.nav li:last-child:before{background:none;}
2016-06-17