Jump to content

Change the background

Recommended Posts

Site URL: https://dachshund-wolf-mdy7.squarespace.com/

Hello I created the above page and tried to ad a css code for gradient animated background from here

https://www.marksmen.studio/blog/animated-gradient-backgrounds-in-squarespace

This the code I added to t addition tab of the page

"<style>
#collection-626bc772534e5c386dbcaf1c
{ background: linear-gradient(270deg, #e32121, #2004e3);
background-size: 200% 200%;
-webkit-animation: AnimationName 10s cubic-bezier (0.68, 0.55, 0.265, 1) infinite;
-moz-animation: AnimationName 10s cubic-bezier (0.68, 0.55, 0.265, 1) infinite;
animation: AnimationName  10s cubic-bezier (0.68, 0.55, 0.265, 1) infinite;}

</style>

"

Th gradient color appears on begging  but then is back again.

Do I have to do something else?

Thanks.

Marina

Link to comment
  • Replies 1
  • Views 268
  • 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.