IE8下实现兼容rgba
1 2 3 4 5 6 7
| sub{ background: rgba(0,0,0,0); background: url("../../images/space.png") 0 0 repeat; &:hover{ background: rgba(0,0,0,.3); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c000000,endColorstr=#4c000000); }
|
元素内文字,加filter:alpha(opacity=0)opcity: 0 做兼容