On-hover animations

On-hover animations take effect when a visitor hovers over a given element and allow you to create engaging interactions on your page.

On this page

Examples

Use hover:{animation} to apply an on-hover animation effect to an element.

Bob

hover:bob

Buzz

hover:buzz

Buzz out

hover:buzz-out

Hang

hover:hang

Pop

hover:pop

Pulse

hover:pulse

Pulse grow

hover:pulse-grow

Pulse shrink

hover:pulse-shrink

Push

hover:push

Wobble top

hover:wobble-top

Wobble bottom

hover:wobble-bottom

Wobble to bottom right

hover:wobble-to-bottom-right

Wobble to top right

hover:wobble-to-top-right

Wobble horizontal

hover:wobble-horizontal

Wobble vertical

hover:wobble-vertical

Wobble skew

hover:wobble-skew

Installation

The on-hover animations are in the style-animations.css asset, along with the entrance animations. It’s loaded by the following line in the document_head.hbs template:

<link rel="stylesheet" href="{{asset 'style-animations.css'}}">

Questions or feedback about this article? Let us know