Skip to content

Commit

Permalink
Add animation to destenation headings
Browse files Browse the repository at this point in the history
  • Loading branch information
proalaa authored Oct 6, 2018
1 parent b20a4a3 commit 7dc50b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,14 @@ align-items: center;
text-align: center;
}

.destination:hover h2 {
transform: rotate(0deg);
}

h2 {
margin: 0;
transform: rotate(-45deg);
transition: transform 0.5s;
text-shadow: 0 0 5px #01579b;
}

Expand All @@ -52,4 +57,4 @@ background-color: #03a9f4;

#paris {
background-color: #d32f2f;
}
}

0 comments on commit 7dc50b9

Please sign in to comment.