More active states

This commit is contained in:
daudix
2024-08-31 06:52:08 +03:00
parent a69352c8b5
commit 65770c2d93
6 changed files with 135 additions and 30 deletions

View File

@ -10,6 +10,7 @@ h6 {
}
.zola-anchor {
display: inline-block;
opacity: 0;
transition: var(--transition);
margin: 0 0.25em;
@ -18,6 +19,10 @@ h6 {
background-color: var(--primary-color);
}
&:active {
transform: scale(var(--active));
}
&:focus-visible {
opacity: 1;
}