added hover animations

This commit is contained in:
mmacierzanka committed 2021-10-03 17:19:17 +02:00
1 parent 20e5d34241
commit e674c67ff1
1 file changed
+8
@@ -11,9 +11,17 @@
margin: 3px auto;
padding: 10px 25px;
height: 120px;
transition: border-color 0.2s ease;
&:hover {
border-color: $accent;
}
&:hover .location {
color: $accent;
}
}
.location {
font-weight: bold;
font-size: 1.7em;
transition: color 0.2s ease;
}