CSS display:flex

フレックスボックスを覚えよう
関連タイピング
-
HTML5とCSS3を学ぼう
プレイ回数2.7万長文869打 -
htmlの雛形覚え用
プレイ回数644英語長文258打 -
プレイ回数58英字169打
-
基礎的なHTML
プレイ回数3534英語54打 -
Vue.js 3 Transition 自分暗記用
プレイ回数221英語長文364打 -
自作のハンバーガーメニューを作成しましょう!
プレイ回数3504英語長文721打 -
bootstrap5 color
プレイ回数122英語長文729打 -
bootstrap5 border関係
プレイ回数100英語473打
問題文
ふりがな非表示
ふりがな表示
(display:flex;)
display:flex;
(flex-direction:column;)
flex-direction
(justify-content:center;)
justify-content 主軸に沿って要素をそろえる
(space-between space-around)
stretchが初期設定、均等、1/2
(align-items:flex-start;)
align-items 交差軸に対しての操作
(flex-wrap:wrap;)
flex-wrap:wrap 折り返し
(align-content:flex-end;)
flex-wrap:wrap;の時に要素をそろえる
(flex-flow:row wrap;)
flex-directionとwrapの同時指定
(align-self:center;)
アイテムごとに交差軸に対する指定
(order:1;)
アイテムの順番を指定 order:0;
(flex-grow:1;)
flex-grow:0; アイテムの余った幅の分配
(flex-shrink:0;)
アイテムの足りない幅の分配
(flex:auto;)
flex-grow:1; shrink:1; basis:auto;
(flex-basis:auto;)
flex-basis:auto; アイテムのwidthの指定