Tailwind CSS Box Shadow (original) (raw)

Last Updated : 23 Jul, 2025

This class accepts lots of value in tailwind CSS in which all the properties are covered in class form. By using this class we can control the box-shadow of an element. In CSS, we do that by using the CSS Shadow Effect properties of box-shadow.

**Box Shadow classes:

**Syntax:

...

**Example:

HTML `

GeeksforGeeks

Tailwind CSS Box Shadow Class
shadow-sm
shadow
shadow-md
shadow-lg
shadow-xl
shadow-2xl

`

**Output:

Tailwind CSS Box shadow class