nvm, that overrides the animation-delay :(
This commit is contained in:
parent
cce3353286
commit
b639ae5bcc
1 changed files with 3 additions and 4 deletions
|
@ -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)}
|
||||
|
|
Loading…
Reference in a new issue