ブロック要素の中央寄せ「text-align: center;」 CSS Twitter Facebook はてブ Pocket LINE コピー 2023.06.22 text-align: center; HTML <p class="center">ブロック要素の中央寄せ</p> CSS .center { text-align: center; } サンプル 子要素 Follow me! FacebooktwitterHatenaPocketCopy
コメント