旋转属性在 IE8 中不起作用
Rotation property not working in IE8
我需要在IE8浏览器中旋转div元素。
我已经渲染了箭头(有两个div 元素)
<DIV class=e-arrowTip>
<DIV class=e-arrowTipOuter></DIV>
<DIV class=e-arrowTipInner></DIV>
</DIV>
.e-arrowTip{
bottom: -1px;
height: 10px;
position: absolute;
transform: rotate(90deg);
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
left: 50%;
top: 100%;
overflow: hidden;
visibility: visible;
width: 20px;
}
在 IE8 中,div 元素不旋转。
将以下内容添加到.e-arrowTip
:
-ms-transform: rotate(90deg);
更新:
将.css({"-ms-filter" :
更改为.css({"msFilter" :
信用:https://stackoverflow.com/a/5594170/704808
相关文章:
- Recaptcha在IE7和IE8中不起作用
- 在IE8中不起作用的元素上触发单击事件
- 数据-在IE8中不起作用
- getComputedStyle替换:currentStyle(IE8/7)不起作用
- IE8 jquery ajax头请求不起作用
- 显示隐藏的html表在javascript(IE8)中不起作用
- ScriptX 打印功能在 IE8 中不起作用
- Angularjs 跨源资源共享 (CORS) 发布或放置方法在 IE8 和 IE9 中不起作用
- ExtJs 5.0:forEach on Array of Objects在IE8中不起作用
- 将JSON对象转换为敲除observable在IE8中不起作用,但在所有其他浏览器中都起作用
- 聚焦函数在ie8中不起作用
- 启动网格在IE8中不起作用
- Svg标签在IE8中不起作用
- Twitter引导程序示例在IE8中不起作用
- 引导程序3在IE8中不起作用(已检查其他答案)
- IE8的Javascript占位符不起作用
- Javascript中的开关案例在IE8中不起作用
- 如果我添加 pageX 页面 Y 在 IE8 中不起作用<!文档类型 html>.
- $.getScript 不起作用 (IE8)
- 点击事件不起作用IE8