identifyasaproblem Posted October 8, 2023 Posted October 8, 2023 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
identifyasaproblem Posted October 8, 2023 Author Posted October 8, 2023 tried this as well- .footer { background-image: linear-gradient(89deg, #fe9c37, #da6026, #114155, #3b97b6, #693237); background-size: 1000% 1000%; animation: AnimationName 30s linear infinite; } @keyframes AnimationName { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
tuanphan Posted October 12, 2023 Posted October 12, 2023 try changing this .footer to footer.sections If it doesn't work, can you provide site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment