Seeking a straightforward way to change text on a link upon :Hover. I desire a gentle transition (text emerges from below) and fallback to default if JavaScript is disabled.
HTML
<div class="bot-text">
<a href="">Visit this site</a>
<a href="">Or check this out</a>
</div>
CSS
.bot-text a {
font: 600 15px/20px 'Open Sans', sans-serif;
color: #383737;
position: relative;
display: inline-block;
border: 2px solid #383737;
padding: 25px;
margin: 10px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
This code generates a text button with a border and padding. Upon hover, the text should switch to something else (always shorter). The new text should slide up from the bottom to replace the current link text on hover.