JSFiddle - React, Tailwind, and code Playground

HTML

<body>
<div class="header"></div>

<div class="project1">content</div>
<div class="project2">content</div>
<div class="project3">content</div>
<div class="project4">content</div>
</body>

CSS

html, body {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
 }

.header {   
  min-height: 100%;
  min-width: 100%;
  width: 100%;
  height: auto;
  background-image:url('http://scrapd.nl/assets/images/carousel/cover-0.jpg');
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;  
}