highlight animation hurrr

This commit is contained in:
ntr
2020-01-19 12:22:32 +10:00
parent c0cbfe6e0f
commit 8e18ca033f
2 changed files with 20 additions and 1 deletions
+13
View File
@@ -85,6 +85,10 @@
.effects {
align-self: flex-start;
}
&.highlight {
animation: highlight 1s infinite alternate;
}
}
.game-construct .name {
@@ -93,6 +97,15 @@
}
}
@keyframes highlight {
from {
background: @black;
}
to {
background: @silver;
}
}
.game-construct {
display: grid;