JSFiddle - React, Tailwind, and code Playground
by Oliver_kh
HTML
<a href="#as">ас</a>
<div id="as" class="an">привет</div>
CSS
.an:target {
-webkit-animation: an 1.5s 0s;
-moz-animation: an 1.5s 0s;
animation: an 1.5s 0s;
top:0px;
position:relative;
-webkit-animation-fill-mode: both;
}
@-webkit-keyframes an {
100% {
top:550px;
}
}