我有这个代码:
<!--[if !IE]><!-->
.roll-link {
display: inline-block;
overflow: hidden;
vertical-align: top;
perspective: 600px;
perspective-origin: 50% 50%;
}
a{text-decoration: none;}
.roll-link span {
display: block;
position: relative;
padding: 0px 2px;
transition: all 400ms ease 0s;
transform-origin: 50% 0% 0px;
-webkit-transform-origin: 50% 0% 0px;
-o-transform-origin: 50% 0% 0px;
transform-style: preserve-3d;
-webkit-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
}
.roll-link:hover {
text-decoration: none;
}
.roll-link:hover span {
background: none repeat scroll 0% 0% #007B8C;
transform: translate3d(0px, 0px, -30px) rotateX(90deg);
-webkit-transform: translate3d(0px, 0px, -30px) rotateX(90deg);
-o-transform: translate3d(0px, 0px, -30px) rotateX(90deg);
}
<!--<![endif]-->
我想被 IE 忽略,但事实并非如此。我做了一个 jsffidle:http: //jsfiddle.net/567hx/ 我做错了什么?我有IE10 谢谢