JSFiddle - React, Tailwind, and code Playground

by Chris Rebert

HTML

<div>
    <button onclick="document.getElementById('foo').focus();">Focus offscreen link</button>
</div>
<a id="foo" href="http://facebook.com">Link at the end</a>

CSS

div {
    width: 150px;
    height: 2000px;
}