by seszett · 13y ago · 0 comments
CSS transitions are a great feature, however, using them to make hyperlinks fade slowly over 500ms on hover is a really bad idea.
It is both distracting and not helpful, as a casual pass over a link with the mouse won't actually reveal it.
So please, please, by all means use CSS transitions for nice graphic effects, or to make the colour transition smoother over 50, or 100ms, but too much is not better.
I have the feeling CSS transitions are quickly becoming a kind of modern standard of amateur design, discreet and appealing yet annoying and distracting, like coloured scrollbars and animated mouse cursors once were.
Agreed that CSS transitions are neat and easy to use but you are right about the hyperlinks being a bad place to use them. If the link in the page wasn't the URL and instead just a word in the paragraphs I wouldn't have noticed it either. When I use transitions for links or to open sub menus I usually pick a color that really stands out so they can understand they should click there. Usually 100ms will do fine, I think the transitions have their place but some people including my Manager do not like them for links or menus.
For links, I've found that a 150ms intro animation and a 250ms outro (with the proper easing) is the maximum duration that looks good.