Jump to content

Footer gradient animation woes

Recommended Posts

Hi there,

I am recoding my website after looking all my code. I was able to code this footer months ago but it is not working for me now. I am not sure if I am targeting this the correct way. I don't remember what I did I think it was the code below:

 

.footer {

    background: linear-gradient(90deg, #fe9c37, #da6026, #114155, #3b97b6, #693237);

    background-size: 1000% 1000%;

 

    -webkit-animation: AnimationName 30s ease infinite;

    -moz-animation: AnimationName 30s ease infinite;

    animation: AnimationName 30s ease infinite;

}

 

@-webkit-keyframes AnimationName {

    0%{background-position:0% 50%}

    50%{background-position:100% 50%}

    100%{background-position:0% 50%}

}

@-moz-keyframes AnimationName {

    0%{background-position:0% 50%}

    50%{background-position:100% 50%}

    100%{background-position:0% 50%}

}

@keyframes AnimationName {

    0%{background-position:0% 50%}

    50%{background-position:100% 50%}

    100%{background-position:0% 50%}

}

https://duck-sheep-gyj3.squarespace.com/ /SD$$$2023

Link to comment
  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.