Add active state to the footer socials

And use "transform" for transforms since e.g setting scale directly is not widely supported by browsers (baseline 2022)
This commit is contained in:
David Lapshin
2024-05-02 23:42:16 +03:00
parent 0a07972a60
commit 21bad0a764
3 changed files with 8 additions and 4 deletions

View File

@ -3,7 +3,7 @@
position: relative;
&.draft {
scale: 0.95;
transform: scale(0.95);
opacity: 0.6;
transition: var(--transition-longer);
outline: 2px dashed var(--fg-muted-2);
@ -11,7 +11,7 @@
border-radius: 1rem;
&:hover {
scale: 1;
transform: scale(1);
opacity: 1;
outline: 2px dashed transparent;
outline-offset: 0;