nvm, that overrides the animation-delay :(

This commit is contained in:
mehbark 2023-09-02 23:05:42 -04:00
parent cce3353286
commit b639ae5bcc

View file

@ -14,13 +14,12 @@ const grass_colors = ["#9DDA33", "#10F565"];
// to be a lot more difficult
const Blade = () => (
<b
class="grass"
style={{
// transform: "translateX(0.3rem)",
// transformOrigin: "bottom",
// animation: "2s spin infinite linear alternate",
animationDelay: `${Math.random()}s`,
color: pick_random(grass_colors),
transformOrigin: "bottom",
transform: "translateX(1rem)",
animation: "3s spin infinite alternate",
}}
>
{pick_random(grass_chars)}