Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7946923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:17:05+00:00 2026-06-04T01:17:05+00:00

I am making an slideshow with keyframes but there is an issue.. The keyframe

  • 0

I am making an slideshow with keyframes but there is an issue..

The keyframe changes the position of the first image here:

background-image:url('images/cover.png'), url('images/slideshow.jpg');
-webkit-animation:slider 20s infinite alternate ease-in-out;

@-webkit-keyframes slider {
0% {background-position: 0px 0px}
14% {background-position: 0px 0px}
28% {background-position: -1280px 0px}
42% {background-position: -1280px 0px}
56% {background-position: -2560px 0px}
70% {background-position: -2560px 0px}
84% {background-position: -3840px 0px}
100% {background-position: -3840px 0px}
}

But the image i want to slide is the last, any ideas on how to change it priority of the keyframe? The first image has some opacity which enables me to see the second one. If i swap places on them the last one ends up behind and cannot bee seen…

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T01:17:06+00:00Added an answer on June 4, 2026 at 1:17 am

    The background-position property can have multiple values, and currently the animation is effecting both images. Something like this should work:

    @-webkit-keyframes slider {  
        0% {background-position: 0 0, 0px 0px}  
        14% {background-position: 0 0, 0px 0px}  
        28% {background-position: 0 0, -1280px 0px}  
        42% {background-position: 0 0, -1280px 0px}  
        56% {background-position: 0 0, -2560px 0px}  
        70% {background-position: 0 0, -2560px 0px}  
        84% {background-position: 0 0, -3840px 0px}  
        100% {background-position: 0 0, -3840px 0px}  
    }
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a slideshow and the images won't be static, they'll be pulled in
I built a slideshow/decision-making game in Flash but would like to try to redo
I'm making a Jquery slideshow. It lists thumbnails, that when clicked on, reveal the
Making my first steps in RIA Services (VS2010Beta2) and i encountered this problem: created
Making UML sequence diagram in VS 2010RC I've observed that there is no activation
Making websites that appear correctly in IE is a big problem. Is there any
I am making a slideshow for in my app. I want it almost like
I am making with a slideshow in it. I want the navigation bar to
i'm creating a simple slideshow. 4 images coming from db by php stored in
Not sure if this is possible but I have a slideshow on my site

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.