- Products -


Software


NEWS


Special



- Knowledge -


Category × Tag



- Like -

公開
作成日:2022/07/22 11:04:11
更新日:2022/07/22 11:04:19

【Bootstrap】枠線や中央揃えを行う

・枠線や中央揃えは直感的なclassで指定できる。

使い方


・下線は「border-bottom」
・インライン要素の中央揃えは「text-center」

<header class="border-bottom mb-5 mt-3 text-center">
    <h1>test</h1>
</header>


参考


https://qiita.com/nakanishi03/items/c80a16b9b9796c25f890


Category



Tag




関連記事


{{tmp.name}}

{{article.category}} {{article.title}}