Animated pseudo-element experiment

HTML

<a href="#">Hover me</a>

CSS

body {
    padding: 3em;
}
a {
    background: skyBlue;
    border-radius: .25em;
    color: white;
    display: inline-block;
    font: bold 1em/1.5 sans-serif;
    padding: .75em 1.5em;
    position: relative;
    text-decoration: none;
    top: 0;
    -webkit-transition: .25s;
       -moz-transition: .25s;
        -ms-transition: .25s;
         -o-transition: .25s;
            transition: .25s;
}
a:hover,
a:focus {
    background: deepSkyBlue;
    bottom: 3.25em;
}
a:after {
    background: grey;
    border-radius: .25em;
    bottom: inherit;
    content: 'Thanks!';
    font-size: .8em;
    left: 0;
    line-height: 1.875;
    position: absolute;
    right: 0;
    text-align: center;
    z-index: -1;
}

JavaScript

// Animated pseudo-element in a browser other than Firefox!