• <bdo id='sdflD'></bdo><ul id='sdflD'></ul>
  • <small id='sdflD'></small><noframes id='sdflD'>

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

      <legend id='sdflD'><style id='sdflD'><dir id='sdflD'><q id='sdflD'></q></dir></style></legend>

      1. <tfoot id='sdflD'></tfoot>
      2. css 旋转一个伪 :after 或 :before content:""

        时间:2023-10-13
          <tbody id='RuF2P'></tbody>
      3. <i id='RuF2P'><tr id='RuF2P'><dt id='RuF2P'><q id='RuF2P'><span id='RuF2P'><b id='RuF2P'><form id='RuF2P'><ins id='RuF2P'></ins><ul id='RuF2P'></ul><sub id='RuF2P'></sub></form><legend id='RuF2P'></legend><bdo id='RuF2P'><pre id='RuF2P'><center id='RuF2P'></center></pre></bdo></b><th id='RuF2P'></th></span></q></dt></tr></i><div id='RuF2P'><tfoot id='RuF2P'></tfoot><dl id='RuF2P'><fieldset id='RuF2P'></fieldset></dl></div>

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

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

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

                2. 本文介绍了css 旋转一个伪 :after 或 :before content:""的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  无论如何都要对伪进行旋转

                  anyway to make a rotation work on the pseudo

                  content:"24B6"? 
                  

                  我正在尝试旋转一个 unicode 符号.

                  I'm trying to rotate a unicode symbol.

                  推荐答案

                  内联元素不能转换,伪元素默认是内联的,所以必须应用 display: blockdisplay: inline-block 来转换它们:

                  Inline elements can't be transformed, and pseudo elements are inline by default, so you must apply display: block or display: inline-block to transform them:

                  #whatever:after {
                    content: "24B6";
                    display: inline-block;
                    transform: rotate(30deg);
                  }

                  <div id="whatever">Some text </div>

                  这篇关于css 旋转一个伪 :after 或 :before content:""的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:在谷歌地图 api v3 上旋转 .gif 图像? 下一篇:在 Chrome 中使用 webkit-transform 旋转时出现不稳定的

                  相关文章

                  最新文章

                3. <small id='yjG97'></small><noframes id='yjG97'>

                  <tfoot id='yjG97'></tfoot>

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