JSFiddle - React, Tailwind, and code Playground
by jwpg018241
HTML
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css">
<div class="topInfo">
<div class="container">
<div class="row">
<div class=" col-md-offset-2">
<h1 class="topInfoText col-md-8 text-center">Aerial Drone Services and Stock Footage</h1>
</div>
<div class="col-sm-4 col-sm-offset-4">
<a class="btn bannerBtn btn-block" href="#">Learn More</a>
</div>
</div>
</div>
</div>
<div class="topInfo2"></div>
CSS
body {
background: #000;
}
.topInfo {
background-image: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)), url('http://jwpg.shop/img/choicejapan/choicejapan_0-5.jpg');
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.topInfo2 {
background-image: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)), url('http://jwpg.shop/img/choicejapan/choicejapan_0-5.jpg');
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.topInfoText {
color: white;
padding-top: 275px;
font-size: 3.3em;
position: fixed;
}
.bannerBtn {
border-style: solid;
border-width: 2px;
border-color: #ffffff;
border-radius: 50px;
padding-top: 15px;
padding-bottom: 15px;
margin-top: 130px;
font-size: 1.45em;
color: #ffffff;
font-weight: 700;
transition: all 0.3s ease-in-out 0s;
margin-top: 100vh
}