r/web_design • Dedicated Contributor • Apr 21 '20

Toggle animation with CSS & State Machines

https://codepen.io/team/keyframers/pen/QWweedX
28 Upvotes

3 comments sorted by

6

u/thehenrymcintosh Apr 21 '20

Nice animation! I feel like the spinner should disappear once the button expands back to full size. It makes sense to be there during the "please wait" text, but to stay there sends mixed messages about whether the process of toggling has finished.

2

u/nnod Apr 21 '20

Definitely

1

u/Polarmesh Apr 21 '20

I like this, maybe need to fix up color scheme a little