grass: temporary grlass for pch prototyping
This commit is contained in:
parent
549fb1e658
commit
cce3353286
1 changed files with 4 additions and 3 deletions
|
@ -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),
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue