This piece of code creates an interesting effect when the text is hovered over. The slight shakiness adds a cool touch to it. However, this effect only occurs when the mouse is moved slowly; if the mouse remains stationary, the hover style takes precedence.
Is there a way to maintain the shakiness (or rapid switching, to put it simply) even when the mouse is still? Perhaps transitioning at least 5 times between the hover style and non-hover style with CSS3. I am aware that this can be achieved with JavaScript, but I'm curious about the CSS approach, although incorporating a bit of JS wouldn't be a problem.
HTML
<div id="intro"><h1>Lorem Ipsum<br>dolor</h1></div>
CSS
#intro {
font-family: 'Pacifico', cursive;
color: #fff;
text-align: center;}
#intro:hover {
font-family: 'Lobster', cursive;}
--UPDATE
Alternatively, is there a way to create an effect that transitions between the non-hovered and hover styles at a defined interval or for a set number of times when hovered over?