feat: highlight active HTML anchor header
This commit is contained in:
@@ -19,3 +19,13 @@ main {
|
|||||||
#menu-control:checked ~ main .book-page {
|
#menu-control:checked ~ main .book-page {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5 {
|
||||||
|
&:target {
|
||||||
|
background-color: rgba(#f66, 0.1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user