Skip to content

Commit b2d0353

Browse files
committed
Add animation to destination headings
1 parent 1204be0 commit b2d0353

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css/app.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,14 @@ body {
4040
text-align: center;
4141
}
4242

43+
.destination:hover h2 {
44+
transform: rotate(0deg);
45+
}
46+
4347
h2 {
4448
margin: 0;
4549
transform: rotate(-45deg);
50+
transition: transform 0.5s;
4651
text-shadow: 0 0 5px #01579b;
4752
}
4853

0 commit comments

Comments
 (0)