Slow link hover highlighting
Page 1 of 1
Slow link hover highlighting
I remember being on forums where the links actually highlight slower, which I think is nicer than the default effect of instant color-changing on hover.
Anyone know how it's done? I think it might be done through webkit and moz CSS codes actually. They didn't work in IE and I think that's because IE doesn't support transitional effects like that yet.
Anyone know how it's done? I think it might be done through webkit and moz CSS codes actually. They didn't work in IE and I think that's because IE doesn't support transitional effects like that yet.
Last edited by Alexander Moore on February 18th 2013, 12:00 am; edited 1 time in total
Guest- Guest
Re: Slow link hover highlighting
You can add these.
- Code:
-webkit-transition: all 500ms ease;
-moz-transition: all 500ms ease;
-ms-transition: all 500ms ease;
-o-transition: all 500ms ease;
transition: all 500ms ease;
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Slow link hover highlighting
Thanks for that share. I'm still learning about the moz and webkit codes as they're the browser-specific ones.
Anyway, I changed the code a bit to work on all links with no underline and 750 millisecond transition. Came out with this :
Now, follow-up question :
Is there a way to get them to ease-out nice as well? There's no "mouse-out" CSS code so would that be much more complicated to implement?
Edit : Looking online, most people just say it isn't possible and say that JavaScript is just about the only way.
Anyway, I changed the code a bit to work on all links with no underline and 750 millisecond transition. Came out with this :
- Code:
a:hover {
-webkit-transition: all 750ms ease;
-moz-transition: all 750ms ease;
-ms-transition: all 750ms ease;
-o-transition: all 750ms ease;
transition: all 750ms ease;
text-decoration: none !important;
}
Now, follow-up question :
Is there a way to get them to ease-out nice as well? There's no "mouse-out" CSS code so would that be much more complicated to implement?
Edit : Looking online, most people just say it isn't possible and say that JavaScript is just about the only way.
Guest- Guest
Re: Slow link hover highlighting
I believe so.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Slow link hover highlighting
Alright. If anyone has any ideas to share about this then please do.
Otherwise, if 48 hours pass with no reply, I'll mark it as solved. This isn't really a big deal after all, it just would have been nice to have it ease-out along with the ease-in. Hope they introduce a mouse-out feature to CSS sometime.
Otherwise, if 48 hours pass with no reply, I'll mark it as solved. This isn't really a big deal after all, it just would have been nice to have it ease-out along with the ease-in. Hope they introduce a mouse-out feature to CSS sometime.
Guest- Guest
Re: Slow link hover highlighting
Looks like you confused your [code] and [color] tags there
Well derp, I feel like I should have known this.
Thank you very much Rideem. Thread marked as solved.
Well derp, I feel like I should have known this.
Thank you very much Rideem. Thread marked as solved.
Guest- Guest
Similar topics
» How do I create a link where you hover over the link and it pops up some kinda text?
» fade slow on hover over main buttons phpBB2 forum
» Link Hover - Cell Text addition
» My site is running so slow it needs a slow moving sign!
» Disabling text selection/highlighting
» fade slow on hover over main buttons phpBB2 forum
» Link Hover - Cell Text addition
» My site is running so slow it needs a slow moving sign!
» Disabling text selection/highlighting
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum