【IE7】关于元素层的透明 opacity 兼容,其实许多教程都会有介绍
解决方法
一同设置:opacity: 0-1; filter: alpha(opacity=0-100);
opacity: N; | filter: alpha(opacity=N); |
---|---|
0 | 0 |
0.1 | 10 |
0.2 | 20 |
0.3 | 30 |
0.4 | 40 |
0.5 | 50 |
0.6 | 60 |
0.7 | 70 |
0.8 | 80 |
0.9 | 90 |
1 | 100 |
opacity: 0-1; filter: alpha(opacity=0-100);
opacity: N; | filter: alpha(opacity=N); |
---|---|
0 | 0 |
0.1 | 10 |
0.2 | 20 |
0.3 | 30 |
0.4 | 40 |
0.5 | 50 |
0.6 | 60 |
0.7 | 70 |
0.8 | 80 |
0.9 | 90 |
1 | 100 |