Archived
added hover animations
This commit is contained in:
1 parent
20e5d34241
commit
e674c67ff1
1 file changed
+8
@@ -11,9 +11,17 @@
|
|||||||
margin: 3px auto;
|
margin: 3px auto;
|
||||||
padding: 10px 25px;
|
padding: 10px 25px;
|
||||||
height: 120px;
|
height: 120px;
|
||||||
|
transition: border-color 0.2s ease;
|
||||||
|
&:hover {
|
||||||
|
border-color: $accent;
|
||||||
|
}
|
||||||
|
&:hover .location {
|
||||||
|
color: $accent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.location {
|
.location {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1.7em;
|
font-size: 1.7em;
|
||||||
|
transition: color 0.2s ease;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user