入門レッスン
中央揃えのやり方について学ぼう
中央揃えのやり方について学ぼう
中央揃えはウェブデザインの重要な要素です。 positionやflexプロパティの活用で、任意の要素を中央に配置するテクニックを身につけます。
目安:30分
スキル一覧
margin: 0 auto
max-width
wrapper
padding
display: inline-block
text-align
display: flex;
justify-content
align-items
position
top, bottom
left
transform
grid
place-content
place-items
position: relative
position: absolute
inset
margin
background
height
width