18 lines
467 B
Markdown
18 lines
467 B
Markdown
### navbar
|
|
Navbar is used to show a navigation bar on the top of the page
|
|
|
|
[navbar docs](https://daisyui.com/components/navbar/)
|
|
|
|
#### Class names
|
|
- component: `navbar`
|
|
- part: `navbar-start`, `navbar-center`, `navbar-end`
|
|
|
|
#### Syntax
|
|
```html
|
|
<div class="navbar">{CONTENT}</div>
|
|
```
|
|
|
|
#### Rules
|
|
- use `navbar-start`, `navbar-center`, `navbar-end` to position content horizontally
|
|
- put anything inside each section
|
|
- suggestion - use `base-200` for background color
|