<a id="bouncy-link" class="bouncy" href="#">Bouncy link</a>
.bouncy {
display:block;
position:absolute;
top:50vh;
left:45vw;
text-decoration:none;
transition:margin-top 0.3s;
}
.bouncy:hover{
margin-top:-20px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.