JSFiddle - React, Tailwind, and code Playground
by adam smth
HTML
<section class="col-sm-12 primary" style="background-image: url('http://lorempixel.com/output/fashion-q-c-640-480-9.jpg');" data-bgimg="http://lorempixel.com/output/fashion-q-c-640-480-9.jpg">
<div class="item">
<article class="post-2 page type-page status-publish hentry" id="post-2">
<div class="entry">
<p>A whole bunch of text that goes on top of everything but is relatively positioned</p>
</div>
<div class="clear"> </div>
</article>
</div> <!-- End div.item -->
<p class="scroll-down">Scroll down</p>
</section>
CSS
section {
position:relative; text-align: center;
background-repeat: no-repeat; background-size: cover;
min-height:100%; color:#fff;z-index: -9999;
}
.item:after {
content: ''; position:absolute; width:100%; height:100%; top:0; left:0;
background-color:#000; opacity:0.3; z-index: -9999;
}