<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ![](https://box.kancloud.cn/e6e9aacf52895742a0ae6e1ec52cb582_197x196.png) ## 一、 通過position和margin ``` <style> .wrapper { position: relative; width: 500px; height: 500px; border: 1px solid red; } .content{ position: absolute; width: 200px; height: 200px; top: 0; bottom: 0; left: 0; right: 0; margin:auto; border: 1px solid green; } </style> <div class="wrapper"> <div class="content"></div> </div> ``` ## 二、通過position和translate ``` <style> .wrapper { position: relative; width: 500px; height: 500px; border: 1px solid red; } .content{ position: absolute; width: 200px; height: 200px; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid green; } </style> <div class="wrapper"> <div class="content"></div> </div> ``` ## 三、通過flex和justify-content、align-self ``` <style> .wrapper { display: flex; width: 500px; height: 500px; border: 1px solid red; justify-content: center; } .content{ width: 200px; height: 200px; border: 1px solid green; align-self: center; } </style> <div class="wrapper"> <div class="content"></div> </div> ``` ## 四、通過flex和justify-content、align-items ``` <style> .wrapper { display: flex; width: 500px; height: 500px; border: 1px solid red; justify-content: center; align-items: center; } .content{ width: 200px; height: 200px; border: 1px solid green; } </style> <div class="wrapper"> <div class="content"></div> </div> ``` ## 五、通過flex和margin ``` <style> .wrapper { display: flex; width: 500px; height: 500px; border: 1px solid red; } .content{ width: 200px; height: 200px; border: 1px solid green; margin: auto; } </style> <div class="wrapper"> <div class="content"></div> </div> ``` ## 六、通過table-cell ``` <style> .wrapper { display: table-cell; vertical-align: middle; text-align: center; width: 500px; height: 500px; border: 1px solid red; } .content{ display: inline-block; width: 200px; height: 200px; border: 1px solid green; } </style> <div class="wrapper"> <div class="content"></div> </div> ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看