17 lines
485 B
Markdown
17 lines
485 B
Markdown
### stack
|
|
Stack visually puts elements on top of each other
|
|
|
|
[stack docs](https://daisyui.com/components/stack/)
|
|
|
|
#### Class Names:
|
|
- Component: `stack`
|
|
- Modifier: `stack-top`, `stack-bottom`, `stack-start`, `stack-end`
|
|
|
|
#### Syntax
|
|
```html
|
|
<div class="stack {MODIFIER}">{CONTENT}</div>
|
|
```
|
|
|
|
#### Rules
|
|
- {MODIFIER} is optional and can have one of the modifier class names
|
|
- You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size
|