mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 18:56:15 -04:00
feat: add a semantic way for creating a breadcrumb
This commit is contained in:
parent
a018211b14
commit
8049be9ffa
3 changed files with 50 additions and 11 deletions
|
@ -51,6 +51,24 @@ nav {
|
|||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
&[role="breadcrumb"] {
|
||||
align-items: center;
|
||||
justify-content: left;
|
||||
|
||||
font-size: 1.2rem;
|
||||
|
||||
& a {
|
||||
padding-right: 1rem;
|
||||
text-decoration: none;
|
||||
|
||||
&::after {
|
||||
content: " / ";
|
||||
color: var(--color);
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Vertical Nav
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue