Stack

Stack visually puts elements on top of each other.

Class name
Type
stack Component Puts the child elements on top of each other
# 3 divs without stack
1
2
3
# 3 divs with stack
1
2
3
# stacked images
Tailwind CSS example 1 Tailwind CSS example 2 Tailwind CSS example 3
# stacked cards
A
B
C
# stacked cards with shadow
A
B
C
# stacked cards

Notification 1

You have 3 unread messages. Tap here to see.

Notification 2

You have 3 unread messages. Tap here to see.

Notification 3

You have 3 unread messages. Tap here to see.

Do you have a question? ask the community
Do you see a bug? open an issue on GitHub
Do you like daisyUI? tweet about it!
Support daisyUI's development: Open Collective
daisyUI store

New template: SaaS Landing page

Available on daisyUI store

More details