The previous commit looked cool. Trying to add spin to the tentacles
All checks were successful
On Push Deploy / deploy (push) Successful in 21s
All checks were successful
On Push Deploy / deploy (push) Successful in 21s
This commit is contained in:
@@ -422,6 +422,10 @@ audio.hidden-audio {
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pulse-tentacles.playing {
|
||||||
|
animation: tentacleSpin 12s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
.pulse-tentacles .tentacle {
|
.pulse-tentacles .tentacle {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
@@ -480,6 +484,15 @@ audio.hidden-audio {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes tentacleSpin {
|
||||||
|
from {
|
||||||
|
transform: translate(-50%, -50%) scale(calc(1 + var(--pulse, 0) * 0.9)) rotate(0deg);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: translate(-50%, -50%) scale(calc(1 + var(--pulse, 0) * 0.9)) rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.player-empty {
|
.player-empty {
|
||||||
color: rgba(255, 255, 255, 0.6);
|
color: rgba(255, 255, 255, 0.6);
|
||||||
|
|||||||
Reference in New Issue
Block a user