JSFiddle - React, Tailwind, and code Playground
HTML
<a href="index.html">I can't believe my eyes</a>
<br> <br>
<div id="lyricsContent">
I've danced alone a thousand times<br>
To songs that no one else could even hear<br>
I've reached into the flame of love<br>
I couldn't hold it<br>
And it disappeared<br>
I've lived to learn to hate the blues<br>
I've lived with ev'rything but you<br>
I can't believe my eyes<br>
<br>
I see you here<br>
Lookin' just the way you should<br>
Ooh, so good, it's too good to be true<br>
I lived my life<br>
To be lyin' here with you<br>
Ooh, I can't believe my eyes<br>
<br>
I've felt the empty hands of time<br>
As they were stealin' all my life away<br>
I've heard the silence deep inside<br>
[ I can't believe my eyes lyrics found on http://www.completealbumlyrics.com ]<br>
Waiting for words that lovers<br>
Could not say<br>
You turn a little into stone<br>
With ev'ry day you live alone<br>
<br>
I can't believe my eyes<br>
I see you here<br>
Lookin' just the way you should<br>
Ooh, so good, it's too good to be true<br>
I lived my life<br>
To be lyin' here with you<br>
Ooh, still when I see you<br>
I can't believe my eyes<br>
<br>
<br>
</div>
CSS
a {
color: red;
}
a.blue {
color: blue;
}
JavaScript
$(document).ready(function(){
$('a').hover(function(){
$(this).addClass('blue');
},
function(){
var link = $(this);
setTimeout(function(){link.removeClass('blue');},1000);
})
})