The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript create a smooth background color change

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #28016
    Steven Gardner

    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


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

    Steven Gardner

    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)
  • The forum ‘JavaScript’ is closed to new topics and replies.