# 横に並べたいとき
display: flex;
# 中のものを中央に置きたい
text-align: center;
# 中のものを左に置きたい
text-align: left;
# 中のものを右に置きたい
text-align: right;
# 上下上下のどれかの外枠をMaxまで、広げたいとき
margin-〇〇: auto;
# 上下上下のどれかの幅をMaxまで、広げたいとき
padding-〇〇: auto;
# 2つ以上のブロックを均等な幅で置きたいとき
justify-content: space-between;
# 横幅をMaxで使用したいとき
width: 100%
# 縦幅をMaxで使用したいとき
height: 100%
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme