grass: temporary grlass for pch prototyping

This commit is contained in:
mehbark 2023-09-02 23:02:31 -04:00
parent 549fb1e658
commit cce3353286

View file

@ -14,10 +14,11 @@ 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 ease alternate",
// transform: "translateX(0.3rem)",
// transformOrigin: "bottom",
// animation: "2s spin infinite linear alternate",
animationDelay: `${Math.random()}s`,
color: pick_random(grass_colors),
}}