Skip to content

24 ways to impress your friends

Vote down?

David Goss

After first reading this I was also concerned about these methods infringeing on JavaScript territory, but having thought it through I think this is the right direction.

The transitions are living up to their name – giving a visual effect to a transition between states e.g. :hover. For me, this still comes under the umbrella of presentation rather than behaviour. Transitions don’t manipulate the DOM which is what JavaScript is really all about. It’s fine.

I particularly like the idea of applying transitions to :focus as well as :hover so that keyboard users get some nice visual feedback as they tab through the document.