Challenge: Flexbox in Action
Task
Complete the provided HTML structure by filling in the missing Tailwind CSS classes according to the layout requirements.
- Parent div: Set the display to flex, and arrange the items in a column;
- Child divs: Center the items horizontally and vertically within the container.
index.html
For the parent div
,
- Use
flex
to set an element to use Flexbox for its layout; - Use
flex-col
to place items in a column; - Use
items-center
to align items to the center; - Use
justify-center
to align items to the center.
index.html
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 4
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 3.57
Challenge: Flexbox in Action
Svep för att visa menyn
Task
Complete the provided HTML structure by filling in the missing Tailwind CSS classes according to the layout requirements.
- Parent div: Set the display to flex, and arrange the items in a column;
- Child divs: Center the items horizontally and vertically within the container.
index.html
For the parent div
,
- Use
flex
to set an element to use Flexbox for its layout; - Use
flex-col
to place items in a column; - Use
items-center
to align items to the center; - Use
justify-center
to align items to the center.
index.html
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 4