Fix border transition

This commit is contained in:
Steve Paul
2024-11-20 00:03:12 +05:30
parent 9c0bb5ac51
commit 346f27ca26

View File

@@ -15,7 +15,6 @@
content-visibility: auto;
contain-intrinsic-size: 8.5rem;
will-change: transform;
transition: box-shadow 0.2s ease-out;
}
.link-card > a {
@@ -31,6 +30,7 @@ p {
}
.link-card:is(:hover, :focus-within) {
transition: box-shadow 0.2s ease-out;
background-position: 0;
box-shadow:
0px 0px 0px 2px var(--link),