CSS display:flex

フレックスボックスを覚えよう
関連タイピング
-
HTMLの超基本を練習できます!!
プレイ回数1381118打 -
ウェブプログラミング言語のタイピング練習ができます。
プレイ回数1.9万長文2819打 -
基礎的なHTML
プレイ回数2829英語54打 -
htmlの雛形覚え用
プレイ回数397英語長文258打 -
プレイ回数400長文207打
-
プログラミングでよく使う記号や構文を練習したい人向け
プレイ回数9890長文956打 -
自分練習用
プレイ回数748長文259打 -
fputcsv()でファイルを作ってアップロード
プレイ回数845長文257打
問題文
ふりがな非表示
ふりがな表示
(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の指定