<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智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                >[success] # 等距布局 * 項目中經常需要如下布局形式 ![](https://img.kancloud.cn/47/97/479719ca1405b3feb9932f4a050893bf_624x328.png) * 如果使用flex 的**justify-content: space-between;** 當內容沒有完全占滿整個容器效果 ![](https://img.kancloud.cn/50/26/502629a2393adaaa768843289c05c64b_680x312.png) * 想利用flex 達到效果,第一種方法計算法,以當前案例來說外層容器為430,每個容器寬度為100,則每個容器中間為10且最后4n的元素右邊距為0 ~~~ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> .content{ display: flex; flex-wrap: wrap; background-color: antiquewhite; width: 430px; } .content > .item{ width: 100px; height: 100px; margin-right: 10px; margin-bottom: 10px; background-color: rebeccapurple; } .content > .item:nth-child(4n){ margin-right: 0px; } </style> </head> <body> <div class="content"> <div class="item">1</div> <div class="item">2</div> <div class="item">3</div> <div class="item">4</div> <div class="item">5</div> <div class="item">5</div> </div> </body> </html> ~~~ * **推薦**使用占位法,將占位元素寬度設置和內容元素一樣,占位元素不要設置高度,占位元素個數為**列數減-2** 即當前四列則4-2,兩個占位元素,好處不用計算 ~~~ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> .content{ display: flex; flex-wrap: wrap; justify-content: space-between; background-color: antiquewhite; width: 430px; } .content > .item{ width: 100px; height: 100px; margin-bottom: 10px; background-color: rebeccapurple; } .content > i{ width: 100px; } </style> </head> <body> <div class="content"> <div class="item">1</div> <div class="item">2</div> <div class="item">3</div> <div class="item">4</div> <div class="item">5</div> <div class="item">5</div> <i></i><i></i> </div> </body> </html> ~~~
                  <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>

                              哎呀哎呀视频在线观看