兼容Ie阴影效果的CSS
/* 阴影效果 */
.shadow {
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#b9b9b9'); /*ie9-*/
box-shadow:3px 3px 3px #b9b9b9; /*ie9+*/
-webkit-box-shadow:3px 3px 3px #b9b9b9; /*火狐*/
-moz-box-shadow:3px 3px 3px #b9b9b9; /*谷歌*/
background:#ddd; }
前端调用
<li onmousemove="$(this).addClass('shadow')" onmouseout="$(this).removeClass('shadow')">
相关推荐
80437916 2020-04-11
WinerChopin 2020-03-03
程序员俱乐部 2020-02-21
cfang00 2013-05-15
流年浅滩 2015-06-14
MaureenChen 2014-05-28
囧芝麻 2019-12-28
jjddrushi 2019-12-27
Safari浏览器 2019-12-23
Safari浏览器 2019-12-11
letheashura 2019-12-03
宇智波鼬 2014-01-20
89357940 2014-01-14
Teresasmida 2014-01-10
Congpanpan 2013-09-04
zljiaa 2019-11-19