JSFiddle - React, Tailwind, and code Playground

HTML

<a href="#">Got it</a>

CSS

a {
    overflow: hidden;
    display: block;
    width: 140px;
    height: 50px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font: 700 1em/50px sans-serif;
    color: #fff;
    background: #42D4B8;
    border-radius: 50px;
}

a:before {
    content: "\2714";
    display: block;
    margin-top: -50px;
    transition: margin .2s ease;
}

a:hover:before {
    margin-top: 0;
}