Recap: Flex Layout
Part of the Fundamentals section of Coddy's Tailwind CSS journey. Lesson 25 of 55.
Challenge
MediumBuild an exhibition guide by combining the four skills from this chapter. Complete every panel so the guide works as a whole.
#part1: flex direction ofcolumn, with 36 pixels of gap.#part2: main-axis alignment ofspace-evenly, with 36 pixels of gap.#part3: cross-axis alignment ofcenter, with 36 pixels of gap.#part4: wrapping mode ofwrap, with 36 pixels of gap.
Preserve the supplied content and structure.
Keep the supplied content and element IDs. Edit the HTML utility classes or the requested CSS. Click Run preview to refresh the preview after edits, then use Check/Run code to grade your work.
Try it yourself
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Practice studio</title><link rel="stylesheet" href="./styles.css"></head><body>
<div id="part1" class="flex"><span>Arrive</span><span>Explore</span><span>Depart</span></div>
<div id="part2" class="flex w-80"><span>Previous</span><span>Next</span></div>
<div id="part3" class="flex h-32"><span class="text-sm">Visitors</span><span class="text-3xl">48</span></div>
<div id="part4" class="flex w-80"><span class="w-40 shrink-0">Pottery</span><span class="w-40 shrink-0">Photography</span></div>
</body></html>
All lessons in Fundamentals
1Meet Tailwind
A Styled First RunChoosing UtilitiesCombining UtilitiesThe Local StylesheetRecap: Meet Tailwind