JSFiddle - React, Tailwind, and code Playground

HTML

<div id="DivSlider">
    <div id="DivHome">up</div>
    <div id="DivSkills">down</div>
</div>

CSS

#DivSlider
{
position:absolute;
width:100%;
height:170%;
background-color:green;
}

#DivHome
{
position:absolute;
width:100%;
height:26%;
background-color:orange;
border:1 solid black;
float:left;
}

#DivSkills
{
position:absolute;
width:100%;
height:25%;
background-color:white;
border:1 solid black;
clear:left;
float:left;
}