JSFiddle - React, Tailwind, and code Playground
JavaScript
$('html').scroll(function() {
if($(this).scrollTop(200)){
$(this).show(fast);
}else{
$(this).hide(fast);
}
});
$('html').scroll(function() {
if($(this).scrollTop(200)){
$(this).show(fast);
}else{
$(this).hide(fast);
}
});