The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

create a smooth background color change

  • # February 15, 2010 at 7:37 am

    I am currently building my first wordpress theme website for a local gym and i have an effect i want to put in place.
    please refer to the top three links at the top of the page in the right hand corner.

    at the moment they are styled with css but i want them to smoothly change to green when hovered.

    Can someone please help me achieve this in jQuery. Thanks

    # February 15, 2010 at 10:47 pm

    when you say ‘smoothly change’ do you want them to fade in/out?

    # February 16, 2010 at 5:01 pm

    yeah i suppose or perhaps animate with color and opacity.

    Instead of the background color changing instantly from nothing to the lime green on hove i want it to gradually transform.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed