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 // to be a lot more difficult
const Blade = () => ( const Blade = () => (
<b <b
class="grass"
style={{ style={{
transform: "translateX(0.3rem)", // transform: "translateX(0.3rem)",
transformOrigin: "bottom", // transformOrigin: "bottom",
animation: "2s spin infinite ease alternate", // animation: "2s spin infinite linear alternate",
animationDelay: `${Math.random()}s`, animationDelay: `${Math.random()}s`,
color: pick_random(grass_colors), color: pick_random(grass_colors),
}} }}