JSFiddle - React, Tailwind, and code Playground
by Pamela Cook
HTML
<link rel="stylesheet" href="bootstrap.css">
<script src="bootstrap.min.css "></script>
<div id="intro">
<div class="intro-body">
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<h1>We are <span class="brand-heading">Modus</span></h1>
<p class="intro-text">A full-service digital agency that loves what we do</p>
<a href="#about" class="btn btn-default page-scroll">Learn More</a> </div>
</div>
</div>
</div>
</div>
CSS
body, html { width: 100% !important; height: 100% !important; }
#intro {
display: table;
width: 100%;
height: auto;
padding: 100px 0;
text-align: center;
color: #fff;
background: url("https://s3.amazonaws.com/lightbe/intro-bg.jpg") no-repeat center center fixed;
background-color: #000;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
#intro .intro-body {
display: table-cell;
vertical-align: middle;
}
#intro .intro-body H1 {
font-size: 76px;
font-weight: 700;
color: rgba(255, 255, 255, 0.8);
text-transform: uppercase;
}
#intro .intro-body .brand-heading {
color: #E75926;
text-shadow: 0 4px #a13e1a;
}
#intro .intro-body .intro-text {
font-size: 18px;
}
@media(min-width:768px) {
#intro {
height: 100%;
padding: 0;
}
#intro .intro-body .intro-text {
font-size: 18px;
letter-spacing: 1px;
margin-bottom: 100px;
color: rgba(255, 255, 255, 0.9);
}
}