mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 03:06:14 -04:00
docs(nav): Add role=button example
This commit is contained in:
parent
6cbc258a0d
commit
43cacb0b93
15 changed files with 36 additions and 13 deletions
|
@ -1857,6 +1857,11 @@ nav :where(a, [role="link"]) {
|
|||
nav :where(a, [role="link"]):is([aria-current], :hover, :active, :focus) {
|
||||
text-decoration: none;
|
||||
}
|
||||
nav [role=button] {
|
||||
margin-right: inherit;
|
||||
margin-left: inherit;
|
||||
padding: var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal);
|
||||
}
|
||||
|
||||
aside nav,
|
||||
aside ol,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue