0
0
Tailwindmarkup~5 mins

Align items (cross axis) in Tailwind - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does items-center do in Tailwind CSS?
It aligns flex items to the center along the cross axis (vertical axis in a row flex container).
Click to reveal answer
beginner
Which Tailwind class aligns items to the start of the cross axis?
items-start aligns flex items to the start (top in a row) of the cross axis.
Click to reveal answer
beginner
How does items-end affect flex items?
It aligns flex items to the end (bottom in a row) of the cross axis.
Click to reveal answer
intermediate
What is the difference between items-center and justify-center?
items-center centers items vertically (cross axis), while justify-center centers items horizontally (main axis) in a flex container.
Click to reveal answer
intermediate
If a flex container has <code>flex-col</code>, which Tailwind class aligns items to the center horizontally?
Use items-center to align items horizontally center because the cross axis is horizontal in a column flex container.
Click to reveal answer
In a flex container with flex-row, which Tailwind class aligns items at the bottom?
Ajustify-end
Bitems-center
Citems-start
Ditems-end
What does items-baseline do in Tailwind CSS?
AAligns items to the baseline of the text inside items
BJustifies items to the end
CCenters items horizontally
DAligns items to the baseline of the container
Which Tailwind class aligns items to the center along the cross axis?
Ajustify-center
Bcontent-center
Citems-center
Dself-center
If you want to align a single flex item differently from others, which Tailwind class do you use?
Aself-start
Bjustify-center
Citems-center
Dcontent-start
In a flex container with flex-col, which axis is the cross axis?
AVertical axis
BHorizontal axis
CDiagonal axis
DNo cross axis
Explain how items-start, items-center, and items-end affect flex items along the cross axis.
Think about vertical alignment in a row flex container.
You got /4 concepts.
    Describe the difference between items-center and justify-center in Tailwind flexbox.
    Consider horizontal vs vertical alignment.
    You got /4 concepts.