DEV Community

Alvaro Montoro
Alvaro Montoro

Posted on

Divtober Day 8: Growing

Day 7 of #divtober is "Growing", so I coded an animation of a tree growing (only animated on Chromium and when reduced motion is not active):

I don't like the code. It feels too big, verbose, and an overkill. There has to be a better way to do this.

Top comments (4)

Collapse
 
posandu profile image
Posandu

I don't like the code. It feels too big, verbose, and an overkill. There has to be a
better way to do this.

I think @afif knows a better way.

Collapse
 
alvaromontoro profile image
Alvaro Montoro

He always does :)

Collapse
 
grahamthedev profile image
GrahamTheDev

Awesome work! ❤ This one will take me a while to unpick!

Collapse
 
auroratide profile image
Timothy Foster

Ok that's pretty cool! It's amazing what @property enables ^^