Tailwind CSS
TA01 - Tailwind Basic Utility Classes
Complexity
Junior
Timeframe
2h
Summary
You should understand what Tailwind utility classes are and know about the most important utility classes.
Skill Breakdown
You should understand the utility class approach of Tailwind.
You should know how to handle hover, focus and other states.
You should understand how Tailwind handles responsive design.
You should understand how to add custom styles.
You should have a general understanding of Tailwind directives.
You should know how to create spacing:
- padding
- margin
- controlling space between child elements
You should know how to handle sizes of elements:
- width
- min-width
- max-width
- height
- min-height
- max-height
- size
You should know how to handle typography:
- font family
- font size
- font style
- font weight
- font height
- line height
- text align
- text color
You should know to handle background:
- background color
- background image
- background size
You should know to handle borders:
- border radius
- border width
- border color
- border style
Required Resources
Getting Things Done in Next.js:
- Setup (opens in a new tab)
- Typography Utilities (opens in a new tab)
- Background Utilities (opens in a new tab)
- Size Utilities (opens in a new tab)
- Border Utilities (opens in a new tab)
- Spacing Utilities (opens in a new tab)
Optional Resources
Tailwind Docs:
-
Core Concepts:
-
Spacing:
-
Sizing:
-
Typography:
-
Backgrounds:
-
Borders:
T02 - Tailwind Flexbox and Grid
Complexity
Junior
Timeframe
2h
Summary
You should know how to use flexbox and grid in Tailwind.
Optional Resources
You should understand how flex works:
- flex basis
- flex direction
- flex wrap
- flex grow
- flex shrink
You should understand how grid works:
- grid flow
- grid columns
- grid rows
You should understand how to control order of flex and grid items.
You should understand how to control gaps between grid and flexbox layouts.
Required Resources
Getting Things Done in Next.js:
Optional Resources
Tailwind Docs:
- Flexbox & Grid:
- Flex (opens in a new tab)
- Flex Basics (opens in a new tab)
- Flex Direction (opens in a new tab)
- Flex Wrap (opens in a new tab)
- Flex Grow (opens in a new tab)
- Flex Shrink (opens in a new tab)
- Order (opens in a new tab)
- Grid Template Columns (opens in a new tab)
- Grid Column Start/End (opens in a new tab)
- Grid Template Rows (opens in a new tab)
- Grid Row Start/End (opens in a new tab)
- Grid Auto Flow (opens in a new tab)
- Grid Auto Columns (opens in a new tab)
- Grid Auto Rows (opens in a new tab)
- Gap (opens in a new tab)