mirror of
https://github.com/kevquirk/simple.css.git
synced 2026-11-30 16:48:18 +01:00
Use aria-current="page" to highlight the current page in the header nav
This commit is contained in:
+2
-1
@@ -286,7 +286,8 @@ header > nav a:visited {
|
||||
}
|
||||
|
||||
header > nav a:hover,
|
||||
header > nav a.current {
|
||||
header > nav a.current,
|
||||
header > nav a[aria-current="page"] {
|
||||
border-color: var(--accent);
|
||||
color: var(--accent);
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user