<style type = "text/css">
a[class^=column]{
background: red;
color :#fff;
}
a[class$=doc]{
background: green;
color :#fff;
}
a[class*=box]{
background: blue;
color :#fff;
}
这样写为什么不对 只有红色变色了 后面的颜色都没有变。。
a[class^=column]{
background: red;
color :#fff;
}
a[class$=doc]{
background: green;
color :#fff;
}
a[class*=box]{
background: blue;
color :#fff;
}
这样写为什么不对 只有红色变色了 后面的颜色都没有变。。
2015-10-09
最赞回答 / qq_子都_0
它这个是用了2次渐变实现了导航分割线,你看li::before 和li::after, 通过在li标签的前后加两个1PX宽的块状区域,通过变化2次,块区域的渐变,从而实现分割线的效果,当然如果不用渐变也可以实现分割线。
2015-10-06
background-position:left top,right bottom;
background-size:200px 70px,150px 50px;
background-repeat:no-repeat,no-repeat;
background-size:200px 70px,150px 50px;
background-repeat:no-repeat,no-repeat;
2015-10-06