JSFiddle - React, Tailwind, and code Playground
by apaul34208
HTML
<div id="div1"></div>
<div id="div2"></div>
CSS
body, html {
height:100%;
width:100%;
margin:0;
}
#div1 {
height:100%;
width:100%;
background: url(http://myrrix.com/wp-content/uploads/2012/06/stackoverflow.png) no-repeat 50%/cover;
}
#div2 {
height:100%;
width:100%;
background: url(http://gillespaquette.ca/images/stack-icon.png) no-repeat 50%/cover;
}