<small id='A4oeT'></small><noframes id='A4oeT'>

      <tfoot id='A4oeT'></tfoot>
      <legend id='A4oeT'><style id='A4oeT'><dir id='A4oeT'><q id='A4oeT'></q></dir></style></legend>
        <bdo id='A4oeT'></bdo><ul id='A4oeT'></ul>

    1. <i id='A4oeT'><tr id='A4oeT'><dt id='A4oeT'><q id='A4oeT'><span id='A4oeT'><b id='A4oeT'><form id='A4oeT'><ins id='A4oeT'></ins><ul id='A4oeT'></ul><sub id='A4oeT'></sub></form><legend id='A4oeT'></legend><bdo id='A4oeT'><pre id='A4oeT'><center id='A4oeT'></center></pre></bdo></b><th id='A4oeT'></th></span></q></dt></tr></i><div id='A4oeT'><tfoot id='A4oeT'></tfoot><dl id='A4oeT'><fieldset id='A4oeT'></fieldset></dl></div>
    2. IE8 CSS 旋转

      时间:2023-10-13
    3. <small id='ZJe09'></small><noframes id='ZJe09'>

      <i id='ZJe09'><tr id='ZJe09'><dt id='ZJe09'><q id='ZJe09'><span id='ZJe09'><b id='ZJe09'><form id='ZJe09'><ins id='ZJe09'></ins><ul id='ZJe09'></ul><sub id='ZJe09'></sub></form><legend id='ZJe09'></legend><bdo id='ZJe09'><pre id='ZJe09'><center id='ZJe09'></center></pre></bdo></b><th id='ZJe09'></th></span></q></dt></tr></i><div id='ZJe09'><tfoot id='ZJe09'></tfoot><dl id='ZJe09'><fieldset id='ZJe09'></fieldset></dl></div>
      <legend id='ZJe09'><style id='ZJe09'><dir id='ZJe09'><q id='ZJe09'></q></dir></style></legend>
      • <bdo id='ZJe09'></bdo><ul id='ZJe09'></ul>

            <tfoot id='ZJe09'></tfoot>
                  <tbody id='ZJe09'></tbody>
                本文介绍了IE8 CSS 旋转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我正在寻找在 IE8 中旋转元素的 CSS 解决方案.我发现的一些解决方案说它应该在 IE8 中工作,但它不适合我.我做错了什么?

                I'm looking for CSS solution for rotating elements in IE8. Some of solutions I've found say that it should work in IE8, but it does not for me. What I do wrong?

                这是我尝试过的:

                <!DOCTYPE html>
                <html>
                <head>
                    <title></title>
                    <style>
                        .rotate {
                            font-weight: bold;color: #000;background: #aa0;display: block;margin: 0 auto;width: 300px;height: 300px;top: 10%;text-align: center;line-height: 300px;
                            -webkit-transform: rotate(-90deg);
                            -moz-transform: rotate(-90deg);
                            -ms-transform: rotate(-90deg);
                            -o-transform: rotate(-90deg);
                            filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
                        }
                    </style>
                </head>
                <body>
                <div class="rotate">
                    TESTING ROTATION
                </div>
                </body>
                </html>
                

                如果您在回答之前测试您的解决方案,我将不胜感激,如果您可以编辑我给定的示例并重新发布所有代码,那就太好了.

                I would appreciate if you test your solution before answering, and it would be great ir you could just edit my given example and repost all code.

                如果有人仍然好奇,问题不是代码,而是测试环境.您应该使用真正的 IE8,而不是 IE10/IE11 中的 IE8 模拟器(不确定 IE9)

                If anyone is still curious the problem is not the code, but the testing environment. You should use real IE8, but not IE8 emulator in IE10/IE11 (not sure about IE9)

                推荐答案

                你缺少IE供应商前缀-ms-

                You are missing IE vendor prefix -ms-

                filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
                

                所以,使用这个

                -ms-filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); /* for IE8 */
                

                也看看这个问题:CSS 在 IE 中旋转属性可能对你有帮助

                Also look at this question: CSS rotate property in IE that might help you

                这篇关于IE8 CSS 旋转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:为什么div和旋转的div(三角形)之间有间隙 下一篇:用html的两侧翻转div

                相关文章

                最新文章

                <i id='ISukx'><tr id='ISukx'><dt id='ISukx'><q id='ISukx'><span id='ISukx'><b id='ISukx'><form id='ISukx'><ins id='ISukx'></ins><ul id='ISukx'></ul><sub id='ISukx'></sub></form><legend id='ISukx'></legend><bdo id='ISukx'><pre id='ISukx'><center id='ISukx'></center></pre></bdo></b><th id='ISukx'></th></span></q></dt></tr></i><div id='ISukx'><tfoot id='ISukx'></tfoot><dl id='ISukx'><fieldset id='ISukx'></fieldset></dl></div>

                  1. <legend id='ISukx'><style id='ISukx'><dir id='ISukx'><q id='ISukx'></q></dir></style></legend>
                  2. <tfoot id='ISukx'></tfoot>

                    <small id='ISukx'></small><noframes id='ISukx'>

                      <bdo id='ISukx'></bdo><ul id='ISukx'></ul>