31 posts
  • Has been part of the Envato Community for over 6 years
  • Has collected 100+ items on Envato Market
blingcart says

I want my links to be a certain color and alpha to another color when you rollover.

How do I do this?

Its an effect when you put the mouse over a link it gradually (in about half second) changes to a different color. You put the mouse out of the link and it again gradually changes to its original color. I hope I am making sense. I would like to know how to do this

Thanks! :D

506 posts Code is Poetry
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has referred 50+ members
  • Has collected 1+ items on Envato Market
+3 more
egemenerd says

Something like this :)

a {
    -webkit-transition:all 0.5s ease-in-out;
    -moz-transition:all 0.5s ease-in-out;
    -o-transition:all 0.5s ease-in-out;
    -ms-transition:all 0.5s ease-in-out;
        color:#000;
}
a:hover {
color:#cc0000;
}
108 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
+4 more
designedbydash says

Something like this :)
a {
    -webkit-transition:all 0.5s ease-in-out;
    -moz-transition:all 0.5s ease-in-out;
    -o-transition:all 0.5s ease-in-out;
    -ms-transition:all 0.5s ease-in-out;
        color:#000;
}
a:hover {
color:#cc0000;
}

This will work, but you should also include:

transition:all 0.5s ease-in-out;

As that’s the official CSS3 version :)

506 posts Code is Poetry
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has referred 50+ members
  • Has collected 1+ items on Envato Market
+3 more
egemenerd says


Something like this :)
a {
    -webkit-transition:all 0.5s ease-in-out;
    -moz-transition:all 0.5s ease-in-out;
    -o-transition:all 0.5s ease-in-out;
    -ms-transition:all 0.5s ease-in-out;
        color:#000;
}
a:hover {
color:#cc0000;
}

This will work, but you should also include:

transition:all 0.5s ease-in-out; As that’s the official CSS3 version :)

+1 ;)

by
by
by
by
by
by