Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Flexbox Utilities | Layout Basics
Tailwind CSS for Web Development
course content

Зміст курсу

Tailwind CSS for Web Development

Tailwind CSS for Web Development

1. Introduction and Setup
2. Core Concepts and Basic Styling
3. Building Basic Components
4. Layout Basics
5. Responsiveness and Customization

book
Challenge: Flexbox Utilities

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.
html

index

css

index

js

index

copy

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.
html

index

css

index

js

index

copy

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 4. Розділ 4
We're sorry to hear that something went wrong. What happened?
some-alt