Not Solved fade in link hover?
#9
Not Solved
(2014-08-30, 06:42 PM)eNvy Wrote:
Quote:.test a:link, .test a:visited {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}

.test a:hover, .test a:active {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}

and to add a nice movement to  :hover
just add
margin-left: 5px;
 
(2014-08-30, 08:22 PM)Billie Joe Armstrong Wrote: If i wanted the fade in and out effect on buttons would i just add the same code?

yes , and you can play with it

as @eNvy was sain` you can give to :link , :visited {opacity: 0.5;} and to :hover , :active { opacity: 1;} , so when you hover the button it will lighten up
and you can use opacity with the transitions and you`l have a nice effect ...

Happy coding!
eko
Reply


Messages In This Thread
fade in link hover? - by Billie Joe Armstrong - 2014-08-30, 06:02 PM
RE: fade in link hover? - by adi19 - 2014-08-30, 06:25 PM
RE: fade in link hover? - by eNvy - 2014-08-30, 06:42 PM
RE: fade in link hover? - by ekoice - 2014-08-30, 09:02 PM
RE: fade in link hover? - by Cameron:D - 2014-08-31, 12:14 AM
RE: fade in link hover? - by Billie Joe Armstrong - 2014-08-30, 06:59 PM
RE: fade in link hover? - by MMFB - 2014-08-30, 07:33 PM
RE: fade in link hover? - by [email protected] - 2014-08-30, 07:59 PM
RE: fade in link hover? - by eNvy - 2014-08-30, 08:04 PM
RE: fade in link hover? - by Billie Joe Armstrong - 2014-08-30, 08:22 PM
RE: fade in link hover? - by Billie Joe Armstrong - 2014-08-31, 09:31 AM
RE: fade in link hover? - by eNvy - 2014-08-31, 07:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)