Animating Visible Buttons on Hover in Header Template

How can I make it so that my header template’s 2 buttons are always visible and animate (using the jackInTheBox animation) when hovered over? Currently, the buttons are only visible when hovered and the animation starts by default.