Menu
CoddyTech

Recap: Edges and Surfaces

Part of the Fundamentals section of Coddy's Tailwind CSS journey. Lesson 20 of 55.

challenge icon

Challenge

Medium

Build an exhibition guide by combining the four skills from this chapter. Complete every panel so the guide works as a whole.

  • #part1: border width on every side of 6px.
  • #part2: radius on every corner of 18px.
  • #part3: a crisp black shadow offset 9 pixels down, with zero horizontal offset and zero blur.
  • #part4: opacity of 0.65.

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="border-black">Guest pass</div>
<div id="part2" class="bg-black text-white p-4">Member</div>
<div id="part3" class="bg-white p-4">Admit one</div>
<div id="part4" class="bg-black text-white p-4">Archived preview</div>
</body></html>

All lessons in Fundamentals