sidebar: add a logo hover animation

This commit is contained in:
Haishan 2019-03-31 00:20:23 +08:00
parent 2a9de5ea10
commit b401a7b78f

View file

@ -19,7 +19,7 @@
transition: color 0.3s ease-in-out;
&:hover {
color: #1f52ac;
animation: pulse 0.3s ease-in-out 0s infinite alternate;
}
img {
@ -28,6 +28,15 @@
}
}
@keyframes pulse {
0% {
color: #2a477a;
}
100% {
color: #1f52ac;
}
}
.rows {
@media (max-width: 768px) {
display: flex;