JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container">
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    Filler <br>
    
</div>

<div id="test">
</div>

CSS

#test{
    position: fixed;
    bottom: 0px;
    left: 0px;
    overflow: none;
    width: 100%;
    z-index: 1000;
    height: 44px;
    border-top: 1px solid #060606;
    border-bottom: 1px solid #060606;
    opacity: 0.95;
    background-image: -webkit-linear-gradient(rgb(60, 60, 60), rgb(20, 20, 20));
    box-shadow: inset 0 1px 0px rgb(95, 95, 95);
}

@-webkit-keyframes slide_to_top {
    0% {
        top: 100%;
    }
    100% {
        top: 0%;
        z-index: 1000000;
        opacity: 0.5;
    }
}

@-webkit-keyframes reset_to_bottom {
    0%, 100% {
        top: auto;
        bottom: 0;
        z-index: 1000000;
        opacity: 0.5;
    }
}

#test{
    -webkit-animation-name: slide_to_top;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-direction: normal;
    -webkit-animation-delay: 0;
    -webkit-animation-play-state: running;
    -webkit-animation-fill-mode: forwards;
}

JavaScript

$j = jQuery.noConflict();

$j(document).bind('click', function() {
    $j("#test").css({
        '-webkit-animation-name': 'reset_to_bottom'
    });
});