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

509 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 10+ items on Envato Market
+4 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;
}
109 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 :)

509 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 10+ items on Envato Market
+4 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 ;)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by