CSS display:flex

フレックスボックスを覚えよう
関連タイピング
-
htmlやcssのタイピングです。
プレイ回数6452英語長文120秒 -
基礎的なHTML
プレイ回数3179英語54打 -
chatGPTに作らせた部分一致検索サイトです。
プレイ回数791長文590打 -
プログラミングでよく使う記号や構文を練習したい人向け
プレイ回数1万長文956打 -
Progateの復習用
プレイ回数2044長文1044打 -
bootstrap5 border関係
プレイ回数99英語473打 -
bootstrap flex
プレイ回数142英語長文308打 -
webクリエイター試験上級までカバー
プレイ回数3533長文2136打
問題文
ふりがな非表示
ふりがな表示
(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の指定