Jump to content

Shuddering CSS autoplay for gallery reel

Recommended Posts

Hello!

I am using the CSS below (my client is on the Personal Plan) to make the gallery reel at the top of the About page autoplay, however it is causing the reel to shake and shudder. Does anyone know the way to fix this?

Thanks so much,

Poppy

 

Website link: https://butterfly-ray-4gfa.squarespace.com/about
Password: chinwe

 

CSS:
 

.gallery-reel-wrapper   {

overflow: hidden; 

}

.gallery-reel-list  {

width: 2912px; 

animation-name: autoplay; 

animation-duration: 60s; 

animation-timing-function: linear; 

animation-iteration-count: infinite; 

animation-direction: normal; 

animation-play-state: running;

}

.gallery-reel-list:hover {

animation-play-state: running;

}

@keyframes autoplay {

0% {

margin-left: 0px;

}

  50% {

margin-left: -30%;

}

  100% {

margin-left: -30%;

}  

}

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