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

  • Home
  • SEARCH
  • 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 7066067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:02:23+00:00 2026-05-28T05:02:23+00:00

I am trying to make a simple menu with a nice transition effect using

  • 0

I am trying to make a simple menu with a nice transition effect using either jQuery or CSS3. The problem is that I want 3 buttons with 3 different hover and active states (i.e., different colours). What’s better though? jQuery or CSS3? I know IE9 doesn’t support CSS3 so should one use that right now? This menu seems easier to implement with CSS3 than jQuery, I think. See my menu here which was created using a jQuery tutorial I found here.

As you can see, the second button (red) doesn’t show up smoothly, while the third button has a smoother transition. I need this effect for all three, but each button will have a different colour.

Is this how you would do the same effect with CSS3?

.button1 {
    background-image: url('test.png');
 }

.button1:hover {
    background-image: url('test_hover.png');
    transition: background-image .15s ease-in;
    -webkit-transition: background-image .15s ease-in;

Hope I explained everything right. If you need any clarifications, let me know. Thank you.

  • 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-05-28T05:02:24+00:00Added an answer on May 28, 2026 at 5:02 am

    The nice thing about using CSS3 transitions is that they will be ignored if the browser doesn’t recognize them. In which case, the transition will simply regress to an instant flip.

    I’d recommend using a sprite image. Then instead of changing the image on hover… just change the image position.

    .button1 {
        background-image: url('test_sprite.png');
        background-position: top;
    }
    
    .button1:hover {
        background-position: bottom;
        transition: background-position .15s ease-in;
        -moz-transition: background-position .15s ease-in;
        -o-transition: background-position .15s ease-in;
        -webkit-transition: background-position .15s ease-in;
        -ms-transition: background-position .15s ease-in;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a simple app that sits on the Mac OSX menu
I'm trying to make a simple CSS drop down menu that when you mouse
I'm trying to make a simple accordion style menu using divs: <div class=subdomainLevel> Subdomain
I'm trying to make a simple C# web server that, at this stage, you
Trying to make a simple toggle menu, and I can't seem to hide/show the
I'm trying to a make a simple class in an actionscript file that handles
I'm trying to make a simple menu bar only application on xcode 4. Everything
I am trying to make a very simple application. With a starting menu as
I am trying to make a GUI for a simple hex editor that I
I am trying to implement a very simple little dropdown-style mini-menu that will appear

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.