Skip to content

Commit 4167f76

Browse files
committed
docs: Add transition effect to brand button opacity for smoother hover interaction
1 parent 2204e0e commit 4167f76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ features:
6666
.VPButton.brand {
6767
background-image: linear-gradient(160deg, var(--vp-c-brand-1), var(--vp-c-brand-2)) !important;
6868
opacity: 0.9;
69+
transition: opacity 0.25s;
6970
}
7071

7172
.VPButton.brand:hover {

0 commit comments

Comments
 (0)