Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh: Homepage - animate flag #15515

Open
stephaniehobson opened this issue Nov 18, 2024 · 6 comments
Open

Refresh: Homepage - animate flag #15515

stephaniehobson opened this issue Nov 18, 2024 · 6 comments
Assignees
Labels
Refresh 🦖 Work related to the 2024 site refresh

Comments

@stephaniehobson
Copy link
Contributor

We're moving forward with a SVG/CSS animation for the flag on the homepage. You can use this Slack thread as a starting point.

Respect the user's prefers-reduced-motion settings and there's design direction for a pause animation button in the Figma.

Tess is the best person to go to if you have questions.

@stephaniehobson stephaniehobson converted this from a draft issue Nov 18, 2024
@stephaniehobson stephaniehobson added the Refresh 🦖 Work related to the 2024 site refresh label Nov 18, 2024
@maureenlholland maureenlholland self-assigned this Nov 19, 2024
@maureenlholland
Copy link
Collaborator

Codepen implementation: https://codepen.io/oleaceae/pen/GRVzVdE?editors=1100

@ehot
Copy link

ehot commented Nov 20, 2024

Codepen Alt Animation: https://codepen.io/oleaceae/pen/vYoPdOJ (Blinking + Bouncing)

@slightlyoffbeat
Copy link
Collaborator

I'd like to string these together, as long as performance allows.

Waving for a period of time. Back to static. Blink. Bounce. Blink. Static. Repeat. Something like that.

@ehot
Copy link

ehot commented Nov 20, 2024

https://codepen.io/oleaceae/pen/VwoJzYG @slightlyoffbeat here's a variant that switches between static, to wave, to static, to bounce/blink

@ehot
Copy link

ehot commented Nov 20, 2024

https://codepen.io/oleaceae/pen/wvVLrOm <- another variant where it waves for 20s, then winks and bounces for 10s, then stays stationary for 10s, then loops.

@stephaniehobson
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refresh 🦖 Work related to the 2024 site refresh
Projects
Status: In Progress
Development

No branches or pull requests

4 participants