Skip to content

Commit 94a580e

Browse files
committed
Change title hover effect
1 parent cd959c4 commit 94a580e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/globals.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ h1 {
8686

8787
h1 .char {
8888
transition: 0.1s;
89-
text-shadow: 0 0 0 rgba(0, 0, 0, 0.6);
89+
text-shadow: 0 0 0 var(--accent);
9090
}
9191

9292
h1 .char:hover {
93-
transform: translateY(-20px);
94-
text-shadow: 0 20px 20px rgba(0, 0, 0, 0.6);
93+
transform: translate(-10px, -10px);
94+
text-shadow: 10px 10px 0 var(--accent);
9595
}
9696

9797
@media screen and (max-width: 900px) {

0 commit comments

Comments
 (0)