format project
This commit is contained in:
parent
7651afaa0b
commit
a6d4064af8
83 changed files with 942 additions and 536 deletions
|
|
@ -1,18 +1,22 @@
|
|||
### hero
|
||||
|
||||
Hero is a component for displaying a large box or image with a title and description
|
||||
|
||||
[hero docs](https://daisyui.com/components/hero/)
|
||||
|
||||
#### Class names
|
||||
|
||||
- component: `hero`
|
||||
- part: `hero-content`, `hero-overlay`
|
||||
|
||||
#### Syntax
|
||||
|
||||
```html
|
||||
<div class="hero {MODIFIER}">{CONTENT}</div>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
|
||||
- {MODIFIER} is optional
|
||||
- Use `hero-content` for the text content
|
||||
- Use `hero-overlay` inside the hero to overlay the background image with a color
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue