LogotailboostbyAvatar@SRuhleder

Shadows

Tailwind provides a set of beautifully designed box shadows to give your designs a bit of depth.

Much like the rounded utility class, you can simply use the shadow utility class to add a shadow to an element or suffix it with sm, md, lg, xl, etc. to change the size of the outer box shadow.

shadow-{size}
shadow-sm
shadow
shadow-md
shadow-lg
shadow-xl
shadow-2xl

Playground

Live Preview

Challenges

Apply a medium shadow to this element.

<div class="">
  <p class="py-4">Hello, world!</p>
</div>
Live Preview

Hello, world!