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

Moving Gradient missing config #400

Open
dancrump1 opened this issue Jan 17, 2025 · 4 comments
Open

Moving Gradient missing config #400

dancrump1 opened this issue Jan 17, 2025 · 4 comments

Comments

@dancrump1
Copy link

I could be totally wrong, but after attempting to implement I had no animating background. I needed to add extend: { animation : { 'bg-position': 'bg-position 2s infinite' } } as well as the extend: { keyframes: { ... } } listed in the instructions.

@arindammitra06
Copy link

Doesn't work for me too

@dancrump1
Copy link
Author

Doesn't work for me too

If you add the animation extend, does it start working?

@arindammitra06
Copy link

arindammitra06 commented Jan 17, 2025

No doesnt work. Below is what I added.

keyframes: {
        "bg-position": {
          "0%": { backgroundPosition: "0% 50%" },
          "100%": { backgroundPosition: "100% 50%" },
        },
},
animation: {
        "bg-position": "bg-position 2s infinite" ,
 },

@dancrump1
Copy link
Author

Appears to be working with this config. Component code is copied straight from the animata website.

chrome_sruhIpaaB9.mp4

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants