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 8871171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:55:08+00:00 2026-06-14T17:55:08+00:00

I am using a sprite along with CSS3 animation in an attempt to make

  • 0

I am using a sprite along with CSS3 animation in an attempt to make a rollover. It works somewhat in CODA 2 however when i test in Mozilla, Chrome, Safari and Opera the animation does not occur.

/*linkedin contact button*/
button{text-indent:-99999px; border: none; }
a.linkedin,a.linkedin:hover{display: block; cursor: pointer; background: url(../img/linked.png) no-repeat; width: 128px; height: 128px}
a.linkedin{background-position: -0 -0}
a.linkedin:hover{animation:first 1000s; -moz-animation:first 1000s; -webkit-animation:first 1000s; -o-animation:first 1000s;}

@keyframes first{from {background-position: -140px -0;} to {background-position: -0px -0;}}
@-moz-keyframes first{from {background-position: -140px -0;} to {background-position: -0 -0;}}
@-webkit-keyframes first{from {background-position: -140px -0;} to {background-position: -0 -0;}}
@-o-keyframes first{from {background-position: -140px -0;} to {background-position: -0 -0;}}
*a.linkedin:hover{background-position: -140px -0/9}/*for ie*/
  • 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-14T17:55:11+00:00Added an answer on June 14, 2026 at 5:55 pm

    Why don’t you just use the CSS3 transitions? If all you do is change the background position creating keyframes is kind of overdoing it. See this jsfiddle:

    http://jsfiddle.net/RfbhD/3/

    All the CSS you need:

    a.linkedin {
        background: url(http://placekitten.com/300/128) 0 0 no-repeat; 
        cursor: pointer;
        display: block;
        width: 128px; 
        height: 128px; 
    
        -webkit-transition: background-position 1s ease; 
           -moz-transition: background-position 1s ease; 
             -o-transition: background-position 1s ease; 
                transition: background-position 1s ease; 
    }
    
    a.linkedin:hover{
        background-position: -140px 0; 
    }
    

    ​

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to follow along to this tut: HERE but using a sprite
I have a logo link that's using a background-image (css sprite). All works fine,
I'm using AndEngine to make a game. The user creates a sprite when they
I'm trying to make a particle system using Sprite, but the problem is Sprite
I am experimenting with EaselJS and 2 animation instances using sprite sheets and 2
I currently have collision between 2 sprites working, using sprite.collidesWith(otherSprite) . The problem is
Using a CSS image sprite, I'm creating an 'interactive' image where hovering over certain
In cocos2d using TexturePacker essential version software and generate the .plist and sprite image
i'm using v99.0 onEnter is not being called when my sprite is added to
the custom cursor is a sprite. using it to click another sprite no longer

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.