"HTML 5, CSS 3, Example "
Bootstrap 4.1.1 Snippet by maneeshsinghhs

<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 ----------> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <link rel="icon" type="image/png" href="images/favicon.png"/> <title>Tyndall</title> <!-- Bootstrap --> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/font-awesome.min.css" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700|Playfair+Display:400,700|Roboto:300,400,500,700|Ubuntu:300,400,500,700" rel="stylesheet"> <link href="css/custom.css" rel="stylesheet"> <link href="css/responsive.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="js/html5shiv.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="js/respond.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <header class="main-header"> <div class="container"> <div class="logo float-left"><a href="/"><img class="homelogo" src="images/logo.png" alt="logo"></a></div> <div class="header-right float-right"> <div class="nav-main"> <nav class="navbar navbar-expand-lg"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample05" aria-controls="navbarsExample05" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarsExample05"> <ul class="navbar-nav mr-auto"> <li class="nav-item active"> <a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="#">About</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Services</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Portfolio</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Testimonial</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Team</a> </li> <li class="nav-item contact-button"> <a class="nav-link btn btn-dark" href="#">Contact Us</a> </li> </ul> </div> </nav> </div> </div> </div> </header> <!--end Header --> <section class="slider-container"> <!-- myCarousel Open --> <div id="myCarousel" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-target="#myCarousel" data-slide-to="1"></li> <li data-target="#myCarousel" data-slide-to="2"><span class="dot"></span></li> </ol> <div class="carousel-inner"> <div class="carousel-item active"> <img class="first-slide" src="images/slider-img-1.jpg" alt="First slide"> <div class="carousal-caption-sec"> <div class="caption-box"> <div class="caption-left-box"><span class="welcome-text">Welcome to Oktiq Solutions</span></div> <div class="caption-right-box"> <h2><span>We are Everyone’s</span> Digital Agency</h2> <a class="read-more" href="#">Read More</a> </div> </div> </div> </div> <div class="carousel-item"> <img class="second-slide" src="images/slider-img-1.jpg" alt="Second slide"> <div class="carousal-caption-sec"> <div class="caption-box"> <div class="caption-left-box"><span class="welcome-text">Welcome to Oktiq Solutions</span></div> <div class="caption-right-box"> <h2><span>We are Everyone’s</span> Digital Agency</h2> <a class="read-more" href="#">Read More</a> </div> </div> </div> </div> <div class="carousel-item"> <img class="third-slide" src="images/slider-img.jpg" alt="Third slide"> <div class="carousal-caption-sec"> <div class="caption-box"> <div class="caption-left-box"><span class="welcome-text">Welcome to Oktiq Solutions</span></div> <div class="caption-right-box"> <h2><span>We are Everyone’s</span> Digital Agency</h2> <a class="read-more" href="#">Read More</a> </div> </div> </div> </div> </div> <a class="carousel-control-prev" href="#myCarousel" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#myCarousel" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div><!-- END myCarousel --> </section><!-- End Slider section --> <!-- About section --> <section class="about-sec"> <div class="container"> <h2 class="title-head"><span>About</span></h2> <div class="row"> <div class="col-sm-6"> <div class="about-content"> <h3>Lorem Ipsum is simply dummy text</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</p> <p>when an unknown printer took a galley of type and scrambled it to make a type specimen the le.</p> <p>when an unknown printer took a galley of type and scrambled it to make a type specimen the le.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</p> </div> </div> <div class="col-sm-6"> <div class="about-img"><img class="about_img" src="images/about-img.png" alt="about img"></div> </div> </div> </div> </section><!-- End About section --> <!-- Js Documents --> <script src="js/jquery-slim.min.js"></script> <script>window.jQuery || document.write('<script src="js/jquery-slim.min.js"><\/script>')</script> <script src="js/popper.min.js"></script> <script src="js/bootstrap.min.js"></script> <!-- Just to make our placeholder images work. Don't actually copy the next line! --> <script src="js/holder.min.js"></script> <!-- owl carousel --> <script src="js/owl.carousel.min.js"></script> </body> </html>
/* Getting the new tags to behave */ article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video { display: block; } mark, rp, rt, ruby, summary, time { display: inline } /* Global properties ======================================================== */ body {font-family: 'Roboto', sans-serif; font-weight:400; line-height:19px; color:#6d6d6d; margin:0px; padding:0px; background:#fff;} html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } *{ margin:0; padding:0; box-sizing:border-box;} audio, canvas, progress, video { display: inline-block; vertical-align: baseline;} audio:not([controls]) { display: none; height: 0;} [hidden], template { display: none;} a { background-color: transparent; outline:none;} li{ list-style:none;} a:active, a:hover, a:focus, button:focus { outline:none !important;} .pull-left{ float:left;} .pull-right{ float:right; line-height:3.5em;}/* CSS Document */ img{ border:none; max-width:100%;} /* Global Structure ============================================================= */ .container {position:relative; width:1170px; margin:auto;} h1, h2, h3, h4, h5, h6{ margin:0px; padding:0px;} p{ margin:0px; padding:0px;} img{ border:none;} ul, li{ list-style:none; margin:0px; padding:0px;} /* Common */ /* ====================== */ .form-control:focus {box-shadow: none;} .no-padding{padding: 0} textarea {resize: none;} .btn-primary{ background: #e6e6e6; color: #333; border:0; border-radius: 0px; font-size: 13px; font-family: 'montserratregular'; text-transform: uppercase; padding: 4px 8px; vertical-align: middle; transition: all 0.5s ease-in-out 0s; -webkit-transition: all 0.5s ease-in-out 0s; -moz-transition: all 0.5s ease-in-out 0s; -ms-transition: all 0.5s ease-in-out 0s; -o-transition: all 0.5s ease-in-out 0s; } .btn-primary:hover, .btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary.focus:active, .btn-primary:active:focus, .btn-primary:active:hover, .open > .dropdown-toggle.btn-primary.focus, .open > .dropdown-toggle.btn-primary:focus, .open > .dropdown-toggle.btn-primary:hover{ background: rgb(0, 0, 0);} .main-header, .main-container, #testimonial-slider { width: 100%; display: inline-block;} .main-header { position: fixed; top: 0px; z-index: 99; background-color: rgba(0,0,0,0.78);} .navbar-nav .nav-link {font-family: 'ralewaylight'; font-size: 15px; color: #fff; text-transform: uppercase; line-height: 27px; letter-spacing: 1px;} .navbar{padding:0px;} .logo { padding: 40px 0px;} ul.navbar-nav li { padding: 31px 0px;} ul.navbar-nav li a{position:relative;} ul.navbar-nav li.active a, ul.navbar-nav li a:hover{ color:#f13624;} ul.navbar-nav li.active a:after, ul.navbar-nav li a:hover:after{content:""; border-bottom:1px solid #f13624; width:86%; left:7%; height:1px; bottom:5px; position:absolute;} a.nav-link.btn-dark { background-color: #f13624; padding: 4px 15px; border-radius: 5px; border: none;} a.nav-link.btn-dark:hover { background-color: #fff; color: #f13624;} ul.navbar-nav li.contact-button a:hover:after{ content:none;} ul.navbar-nav li.contact-button { padding-top: 33px; padding-left: 20px;} .navbar-expand-lg ul.navbar-nav { margin-right: -15px !important;} .navbar-expand-lg .navbar-nav .nav-link { padding-left: 10px; padding-right: 10px;} /* Slider Section */ .carousal-caption-sec {background-color: rgba(241, 54, 36, 0.78); padding: 20px; position: absolute; top: 0; bottom: 0; right: 0px; width: 50%;} .caption-box {position: relative; top: 54%; transform: translateY(-50%); -moz-transform: translateY(-50%); -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); width:726px; left: -160px; border: 10px solid #fff; overflow: hidden; padding:100px 62px 70px 190px;} .caption-left-box { width: 75%; background: rgba(255,255,255,0.78); position: absolute; transform: rotate(-90deg) translateX(-16%); -moz-transform: rotate(-90deg) translateX(-16%); -webkit-transform: rotate(-90deg) translateX(-16%); -ms-transform: rotate(-90deg) translateX(-16%); text-align: center; left: -201px; top: 10%; padding: 55px 0px; font-size: 21px; letter-spacing: 2px;font-family: 'ralewaysemibold';color:#333;} .caption-box h2 {font-size: 58px; color: #fff; letter-spacing: 2px; font-family: 'ralewaysemibold';} .caption-box h2 span {font-size: 40px; font-family: 'ralewayregular';} .caption-box .read-more{ font-size:21px; letter-spacing:2px; font-family: 'ralewaylight'; color:#fff; padding-top: 28px; display: inline-block; position:relative; padding-bottom:10px;} .caption-box .read-more:hover{ color: #121212;} .caption-box .read-more:after{content:""; border-bottom:2px solid #fff; width:86%; left:0; height:2px; bottom:0px; position:absolute;} .caption-box .read-more:hover:after{ color: #121212; border-bottom-color:#121212;} .carousel-indicators { position: absolute; right: 0; bottom: 68px; margin-bottom: 0px; left: 0; z-index: 15; padding-left: 0; margin-right: 30%; margin-left: 15%; text-align: right; list-style: none; display: inline-block;} .carousel-indicators li{width: 10px; height: 10px; border-radius:100%; background-color:transparent; border: 3px solid #fff; display:inline-block; vertical-align:middle; margin-left: 10px; margin-right: 10px; margin-top: 2px;} .carousel-indicators .active {background-color: transparent; height: 26px; width: 26px; border: 6px solid #fff;} .carousel-control-next, .carousel-control-prev {position: absolute; top: auto; bottom: 68px; width: auto;} .carousel-control-prev { left:auto; right: 15%; } .carousel-control-next { right: 12%;} .carousel-indicators li.active span.dot{left: -45px; top: 5px;} .carousel-indicators span.dot { position: absolute; width: 27px; display: inline-block; vertical-align: middle; left: -45px; top: 0px; height:4px; background:rgba(255, 255, 255, 0.6);} .carousel-indicators li:last-child { margin-left: 39px;} .carousel-control-next-icon, .carousel-control-prev-icon {display: inline-block; width: 17px; height: 30px;} .carousel-control-prev-icon{ background:url(../images/slider-arrow-left.png) no-repeat;} .carousel-control-next-icon{ background:url(../images/slider-arrow-right.png) no-repeat;} .carousel-inner img{ width:100%;} /* Slider Section End here*/ /* About Section */ .about-sec{ padding:108px 0px; width:100%; float:left;} .about-content{ padding-right:70px;} .about-img{ padding-right:50px; padding-bottom:50px; position:relative;} .about-img:after { content: ""; background-color: #f13624; right: 0px; bottom: 0px; width: 60%; position: absolute; height: 60%; z-index: -1; box-shadow: 20px 13px 63px rgba(182, 183, 183, 0.35); -moz-box-shadow: 20px 13px 63px rgba(182, 183, 183, 0.35); -webkit-box-shadow: 20px 13px 63px rgba(182, 183, 183, 0.35); -ms-box-shadow: 20px 13px 63px rgba(182, 183, 183, 0.35); } .title-head{color:#f13624; font-family: 'ralewaybold'; font-size:56px; line-height:76px; letter-spacing: 6px; text-align:center; margin-bottom: 73px;} .title-head span { position: relative; padding-bottom: 25px; display: inline-block;} .title-head span:after { content: ""; position: absolute; left: 50%; background: #f13624; height: 2px; width: 70%; bottom: 0px; transform: translateX(-50%); -moz-transform: translateX(-50%); -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); max-width: 141px;} h3 {font-size: 30px; letter-spacing: 2px; color: #f13624; line-height: 42px; padding-bottom:25px; margin-bottom:22px; position:relative;} .about-content p {font-size: 18px; color: #989898; font-family: 'latobold'; letter-spacing: 2px; line-height: 24px; padding: 10px 0px 0px 0px;} .about-content h3:after {background: #f13624; height: 2px; left: 0px; bottom: 6px; width: 17%; content: ""; position: absolute;} /* About Section End here*/
<script> $('.owl-carousel').owlCarousel({ margin:10, autoplay:true, loop:true, slideSpeed : 300, responsiveClass:true, responsive:{ 0:{ items:1, nav:true }, 600:{ items:1, nav:false }, 1000:{ items:1, nav:true, loop:true } } }); $(document).ready(function(){ $(function(){ $(document).on( 'scroll', function(){ if ($(window).scrollTop() > 100) { $('.scroll-top-wrapper').addClass('show'); } else { $('.scroll-top-wrapper').removeClass('show'); } }); $('.scroll-top-wrapper').on('click', scrollToTop); }); function scrollToTop() { verticalOffset = typeof(verticalOffset) != 'undefined' ? verticalOffset : 0; element = $('body'); offset = element.offset(); offsetTop = offset.top; $('html, body').animate({scrollTop: offsetTop}, 500, 'linear'); } }); </script>

Related: See More


Questions / Comments: