JSFiddle - React, Tailwind, and code Playground
HTML
<div class="panel first">
</div>
<div class="panel second">
</div>
<div class="panel third">
</div>
CSS
body, html {
width: 100%;
height: 100%;
margin: 0;
}
.panel{
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
.panel.first {
background-image: url('http://lorempixel.com/600/600');
}
.panel.second {
background-image: url('http://lorempixel.com/600/600?1');
}
.panel.third {
background-image: url('http://lorempixel.com/600/600?2');
}