feat: highlight active HTML anchor header

This commit is contained in:
hypevhs 2024-08-10 02:03:38 -05:00
parent 7d0db514da
commit 9f5ab578e2

View file

@ -19,3 +19,13 @@ main {
#menu-control:checked ~ main .book-page {
opacity: 1;
}
h1,
h2,
h3,
h4,
h5 {
&:target {
background-color: rgba(#f66, 0.1);
}
}