Skip to content

Commit 253fa43

Browse files
authored
Add animation to destination headings
1 parent 1a30b7e commit 253fa43

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

css/app.css

Lines changed: 6 additions & 1 deletion
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

@@ -52,4 +57,4 @@ h2 {
5257

5358
#paris {
5459
background-color: #d32f2f;
55-
}
60+
}

0 commit comments

Comments
 (0)