Recall & Review
beginner
What does the
order utility in Tailwind CSS do?It changes the visual order of flex or grid items without changing the HTML structure. Lower numbers appear first, higher numbers appear later.
Click to reveal answer
beginner
How do you make a flex item align itself to the end of the cross axis using Tailwind?
Use the
self-end utility. It overrides the container's alignment for that specific item.Click to reveal answer
intermediate
What is the default order value for flex items in Tailwind CSS?
The default order is
order-0, which corresponds to the CSS order value of 0.Click to reveal answer
intermediate
Explain the difference between
items-center and self-center in Tailwind CSS.items-center centers all flex items along the cross axis inside the container. self-center centers only the specific flex item it is applied to, overriding container alignment.Click to reveal answer
intermediate
Can you use
order utilities on grid items in Tailwind CSS?Yes. The
order utilities work on both flex and grid items to control their visual order.Click to reveal answer
Which Tailwind class will move a flex item to appear first visually?
✗ Incorrect
order-first sets the order to -9999, making the item appear first.What does the
self-start class do in Tailwind CSS?✗ Incorrect
self-start aligns only the specific item to the start of the cross axis.If you want a grid item to appear last visually, which Tailwind class should you use?
✗ Incorrect
order-last sets a very high order value, making the item appear last.Which property does the
order utility control in CSS?✗ Incorrect
order changes the visual order without changing the HTML.What happens if you apply
self-center to a flex item?✗ Incorrect
self-center centers only the specific item along the cross axis.Describe how you can change the visual order of items in a flex container using Tailwind CSS.
Think about how order values affect item placement visually.
You got /5 concepts.
Explain the difference between container alignment and self-alignment in Tailwind CSS flexbox layouts.
Consider how one item can behave differently from the group.
You got /4 concepts.