JSFiddle - React, Tailwind, and code Playground
by Douglas Crosby
HTML
<a href="#area1">Go To Section 1</a><a href="#area2">Go To Section 2</a><a href="#area3">Go To Section 3</a>
<div id="hold">
<div id="col1">Content Column 1</div>
<div id="col2">
Content Column 2<br />
<h2 id="area1">Section 1</h2>
<img src="http://placehold.it/100x750" alt=" placehold img" />
<h2 id="area2">Section 2</h2>
<img src="http://placehold.it/100x750" alt=" placehold img" />
<h2 id="area3">Section 3</h2>
<img src="http://placehold.it/100x750" alt=" placehold img" />
</div>
</div>
CSS
#hold{
width:100%;
background:#ccc;
height:100%;
overflow-y:hidden;
}
#col1, #col2{
padding-bottom:100000px;
margin-bottom:-100000px;
}
#col1{
float:left;
width:200px;
background:#00c;
}
#col2{
margin-left:200px;
background:#c00;
}
a{
display:block;
}
h2{
font-size:1.3em;
color:#ddd;
font-weight:600;
}