<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                `justify-content`屬性定義了項目在主軸上的對齊方式。它可能取5個值,具體對齊方式與軸的方向有關。下面假設主軸為從左到右。 > * `flex-start`(默認值):左對齊 > * `flex-end`:右對齊 > * `center`: 居中 > * `space-between`:兩端對齊,項目之間的間隔都相等。 > * `space-around`:每個項目兩側的間隔相等。所以,項目之間的間隔比項目與邊框的間隔大一倍。 ~~~css .box { justify-content: flex-start | flex-end | center | space-between | space-around; } ~~~ ![](http://cndpic.dodoke.com/6f5c3a7aa7146978f99e3dced17d8aa8) ~~~html <div class="box"> <div class="box-item">1</div> <div class="box-item">2</div> <div class="box-item">3</div> <div class="box-item">4</div> </div> ~~~ ~~~css .box { display: flex; background-color: white; } .box-item { width: 200px; height: 200px; line-height: 200px; vertical-align: middle; margin: 5px; background-color: #ffd200; font-size: 100px; color: white; text-align: center; } ~~~ * `flex-start`(默認值):左對齊 ~~~css .box { justify-content: flex-start; } ~~~ ![](http://cndpic.dodoke.com/387413ed6d335a2e7d9632c7a62c3fa3) * `flex-end`:右對齊 ~~~css .box { justify-content: flex-end; } ~~~ ![](http://cndpic.dodoke.com/b11baf90f5795ef9695d7981d2cab25e) * `center`: 居中 ~~~css .box { justify-content: center; } ~~~ ![](http://cndpic.dodoke.com/04124beba978170b7938e5a89433b11b) * `space-between`:兩端對齊,項目之間的間隔都相等。 ~~~css .box { justify-content: space-between; } ~~~ ![](http://cndpic.dodoke.com/97a928f6b13ebbcff958c52ec1d1a8f3) * `space-around`:每個項目兩側的間隔相等。所以,項目之間的間隔比項目與邊框的間隔大一倍。 ~~~css .box { justify-content: space-around; } ~~~ ![](http://cndpic.dodoke.com/e35dcdd8a67d43fb8e32f86af56ab1cd)
                  <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>

                              哎呀哎呀视频在线观看