完美支持IE圆角/阴影等CSS3样式

插件特效
2026-07-25 23:24 2 次浏览 • 0 次下载 1.5KB
完美支持IE圆角/阴影等CSS3样式
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.cr {
/*circle radius*/
border: 1px solid#ccc; - webkit - border - radius: 8px; - moz - border - radius: 8px;
border - radius: 8px;
behavior: url(css / PIE.htc);
}
.bs {
/*
一般情况:inset x-offset y-offset blur-radius spread-radius color,
【spread-radius扩展半径】来控制阴影的扩展方向:扩展半径有两个值,如果取值为正值,则个阴影会向外扩展,如果你给其取负值,整个阴影向内缩小。
*/
/* x-offset, y-offset, blur,和 color。*/
- webkit - box - shadow: 1px 1px 10px#aaa; - moz - box - shadow: 1px 1px 10px#aaa;
box - shadow: 1px 1px 10px#aaa; - pie - background: linear - gradient(#fff, #fff);
/*gradient为渐变,现在设为白色,不然会变黑,见http://css3pie.com/*/
behavior: url(css / PIE.htc);
}
.bsrgb {
- webkit - box - shadow: 1px 1px 25px rgba(135, 135, 135, 0.96);
- moz - box - shadow: 1px 1px 25px rgba(135, 135, 135, 0.96);
box - shadow: 1px 1px 25px rgba(135, 135, 135, 0.96);
- pie - background: linear - gradient(#fff, #fff);
/*gradient为渐变,现在设为白色,不然会变黑,见http://css3pie.com/*/
behavior: url(css/PIE.htc);
}


星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

关于我们

隐私政策

侵权投诉

站长:IT小君

粤ICP备20043561号

2016-2046 © 星河码客

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare