javascript - "matrix"VML 的属性在 IE8 中不起作用

标签 javascript css internet-explorer-8 transformation vml

我试图在下面的示例中添加“矩阵”属性来缩放 vml 形状。我添加矩阵属性的方式似乎有一些错误。请帮忙。 注意:该示例将在 IE8 中运行。

<html xmlns:v="urn:schemas-microsoft-com:vml">
<head>
    <style>
        v\:*{ behavior: url(#default#VML) }
    </style>
</head>
<body>
    <DIV style="HEIGHT: 400px">
    <v:oval strokecolor="red" fillcolor="yellow" matrix="10,0,0,10,0,0" style="position:relative;top:50;left:50;width:75;height:50">
    </v:oval>
    </DIV>
</body>
</html>

最佳答案

矩阵属性不能应用于椭圆。相反,您可以尝试将其应用于椭圆内部的倾斜。

有一个例子here这可能会有帮助。您可能想要打开兼容性 View 。

关于javascript - "matrix"VML 的属性在 IE8 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13488165/

相关文章:

javascript - 将简单数组转换为对象

css - 通过将鼠标悬停在父 div 上来设置特定子元素的样式

internet-explorer-8 - 编辑元素的 attr() 和 text()(填充、描边、粗细)时,RaphaelJS 在 IE8 中大幅减速

javascript - ie8 上的 d3 svg 图表 (Windows XP)

javascript - Jquery DateTimePicker 内联首先显示空白数据

javascript - 如何让 vim-snipmate 的 console.log 使用双引号而不是单引号

css - Next.JS + AMP CSS

internet-explorer-8 - <ajaxToolkit :ReorderList> is not draggable in IE8 and chrome

javascript - 眼镜代码幻灯片小高度

css - .table-responsive 和 scroll 始终可见