"Background image layout- first option"
Bootstrap 4.1.1 Snippet by Nemra1

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <html lang="en" class="full-height"> <body> <!--Main Navigation--> <header> <!--Navbar--> <nav class="navbar navbar-expand-lg navbar-dark fixed-top scrolling-navbar"> <div class="container"> <a class="navbar-brand" href="#"><strong>MDB</strong></a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent-7" aria-controls="navbarSupportedContent-7" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent-7"> <ul class="navbar-nav mr-auto"> <li class="nav-item active"> <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="#">Link</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Profile</a> </li> </ul> <form class="form-inline"> <div class="md-form mt-0"> <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search"> </div> </form> </div> </div> </nav> <!--Intro Section--> <section class="view intro-2 hm-gradient"> <div class="full-bg-img"> <div class="container flex-center"> <div class="row flex-center pt-5 mt-3"> <div class="col-md-6 text-center text-md-left margins"> <div class="white-text"> <h1 class="h1-responsive wow fadeInLeft" data-wow-delay="0.3s">Make purchases with our app </h1> <hr class="hr-light wow fadeInLeft" data-wow-delay="0.3s"> <h6 class="wow fadeInLeft" data-wow-delay="0.3s">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem repellendus quasi fuga nesciunt dolorum nulla magnam veniam sapiente, fugiat! Commodi sequi non animi ea dolor molestiae iste.</h6> <br> <a class="btn btn-outline-white wow fadeInLeft" data-wow-delay="0.3s">Learn more</a> <a class="btn btn-outline-white wow fadeInLeft" data-wow-delay="0.3s">Download <i class="fa fa-android left right" aria-hidden="true"></i> <i class="fa fa-apple left" aria-hidden="true"></i> <i class="fa fa-windows" aria-hidden="true"></i> </a> </div> </div> <div class="col-md-6 wow fadeInRight d-flex justify-content-center" data-wow-delay="0.3s"> <img src="https://mdbootstrap.com/img/Mockups/Transparent/Small/iphone-admin.png" alt="" class="img-responsive"> </div> </div> </div> </div> </section> </header> <!--Main Navigation--> <!--Main Layout--> <main> <div class="container"> <!--Grid row--> <div class="row py-5"> <!--Grid column--> <div class="col-md-12 text-center"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> </div> <!--Grid column--> </div> <!--Grid row--> </div> </main> <!--Main Layout--> </body> </html>
.intro-2 { background: url("https://mdbootstrap.com/img/Photos/Others/architecture.jpg")no-repeat center center; background-size: cover; } .btn .fa { margin-left: 3px; } .top-nav-collapse { background-color: #424f95 !important; } .navbar:not(.top-nav-collapse) { background: transparent !important; } @media (max-width: 768px) { .navbar:not(.top-nav-collapse) { background: #424f95 !important; } } h6 { line-height: 1.7; } .hm-gradient .full-bg-img { background: -moz-linear-gradient(45deg, rgba(42, 27, 161, 0.6), rgba(29, 210, 177, 0.6) 100%); background: -webkit-linear-gradient(45deg, rgba(42, 27, 161, 0.6), rgba(29, 210, 177, 0.6) 100%); background: -webkit-gradient(linear, 45deg, from(rgba(42, 27, 161, 0.6)), to(rgba(29, 210, 177, 0.6))); background: -o-linear-gradient(45deg, rgba(42, 27, 161, 0.6), rgba(29, 210, 177, 0.6) 100%); background: linear-gradient(to 45deg, rgba(42, 27, 161, 0.6), rgba(29, 210, 177, 0.6) 100%); } @media (max-width: 450px) { .margins { margin-right: 1rem; margin-left: 1rem; } } @media (max-width: 740px) { .full-height, .full-height body, .full-height header, .full-height header .view { height: 1040px; } }
// Animations init new WOW().init();

Related: See More


Questions / Comments: