shadow-lg

The shadow-lg class belongs to the box shadow group within the effects category.

Example Usage

Here is an example of how to use shadow-lg:

<div class="bg-gray-300 w-48 h-48 flex items-center justify-center">
  <div class="shadow-lg shadow-gray-500/80 p-4 w-32 h-32 rounded-lg bg-white"></div>
</div>

Resulting CSS

--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);

Other Box shadow Classes

Get Tailwind Scanner!

The absolute must-have tool for anyone using Tailwind CSS.

Scan, Edit, Export any tailwind site in browser to create the perfect UI - download the chrome extension!