:::

10-1 個別項目的垂直對齊

  1. 請寫在各個<div>中即可:
    <div class="container">
        <div class="row">
            <div class="col align-self-start">垂直靠上</div>
            <div class="col align-self-center">垂直置中</div>
            <div class="col align-self-end">垂直靠下</div>
        </div>
    </div>
  2. 詳情:http://bootstrap.hexschool.com/docs/4.0/layout/grid/#%E5%9E%82%E7%9B%B4%E5%B0%8D%E9%BD%8A
  3. 範例:

    See the Pen 個別項目的垂直對齊 by Tad (@tad0616) on CodePen.


:::

書籍目錄

展開 | 闔起

快速登入


https%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D938%26tbsn%3D32

計數器

今天: 5697569756975697
昨天: 2489248924892489
總計: 8027679802767980276798027679802767980276798027679