JSFiddle - React, Tailwind, and code Playground
HTML
<div id="home">
<ul>
<li><a href="#about">About</a></li>
</ul>
<h1>Home</h1>
</div>
<div id="about">
<h1>About</h1>
</div>
CSS
body {
margin: 0px;
}
#home {
float: left;
position: relative;
width: 100%;
height: 100%;
background: aqua;
}
#about {
float: left;
position: relative;
width: 100%;
height: 100%;
background: #ff0085;
}