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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:05:23+00:00 2026-06-13T10:05:23+00:00

There are some buttons on this page (the small icons toward the bottom) that

  • 0

There are some buttons on this page (the small icons toward the bottom) that I am using some css transitions to change the background of. But there is a flicker the first time the icons are hovered over! I’ve tried to implement the suggestions offered on this thread, but to no avail. Has anyone an idea on how I can make this work without the flicker?

Thank you so much!

  • 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-13T10:05:24+00:00Added an answer on June 13, 2026 at 10:05 am

    Since no minimal testcase provided, I can suppose your images need to be preloaded, and transitions has nothing to do with the issue.

    A background image can be preloaded by specifying it as background for normal (not hover) state of an element, and adding background-position with negative value so that background image is not visible in normal state.

    For example:

    /* Image is supposed to have height less than 100px here. */
    A {
        background: url(example.png) 0 -100px no-repeat;
    }
    
    A:hover {
        background-position: 0 0;
    }
    

    By the way, it’s established practice to put images for both states (normal and hover) to one physical image file, and then just change background-position on hovering:

    /* "rollover-sprite.png" file contains images for both states side by side. */
    A {
        background: url(rollover-sprite.png) no-repeat;
    }
    
    /* Width of image for each state is supposed to be 100px here
      (sprite will be ~200px wide). */
    A:hover {
        background-position: -100px 0;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

there are some buttons on the top of the winform, and when I click
In my application I have some link buttons there but when I right click
Are there any attributes to pre select some radio button in tag on page
Is there some kind of software that I can feed uploaded images to and
I have some code that works and changes the style sheet using a form.
I'm creating a small web page using jquery-ui-1.8 which is having a frameset and
I have developed a web application and in my web page there are some
I've got some buttons on a page whose color is changed via jQuery, illustrating
I have a dynamic page that pulls the categories from the database. this page
First of all: This page is for an online pharmacy. We are using a

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.