"Bootstrap 4 health responsive"
Bootstrap 4.0.0 Snippet by Juan86

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <!-- Navigation --> <div class="fixed-top"> <header class="topbar"> <div class="container"> <div class="row"> <!-- social icon--> <div class="col-sm-12"> <ul class="social-network"> <li><a class="waves-effect waves-dark" href="#"><i class="fa fa-facebook"></i></a></li> <li><a class="waves-effect waves-dark" href="#"><i class="fa fa-twitter"></i></a></li> <li><a class="waves-effect waves-dark" href="#"><i class="fa fa-linkedin"></i></a></li> <li><a class="waves-effect waves-dark" href="#"><i class="fa fa-pinterest"></i></a></li> <li><a class="waves-effect waves-dark" href="#"><i class="fa fa-google-plus"></i></a></li> </ul> </div> </div> </div> </header> <nav class="navbar navbar-expand-lg navbar-dark mx-background-top-linear"> <div class="container"> <a class="navbar-brand" href="http://lacodeid.com/" style="text-transform: uppercase;">LACODEID.COM</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarResponsive"> <ul class="navbar-nav ml-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="#">About</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Fruits</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Sea food</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Vegetables</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Blog</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Contact</a> </li> </ul> </div> </div> </nav> </div> <div class="margin-blank"></div> <!-- slider --> <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li> <li data-target="#carouselExampleIndicators" data-slide-to="1"></li> <li data-target="#carouselExampleIndicators" data-slide-to="2"></li> </ol> <div class="carousel-inner" role="listbox"> <div class="carousel-item fill-ful active" style="background-image:url('http://placehold.it/1900x1080');"> <div class="container"> <div class="carousel-caption"> <h1 class="h11">Another example headline.</h1> <p class="p">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam.</p> <p><a class="btn btn-default" href="#" role="button">Learn more</a></p> </div> </div> </div> <div class="carousel-item fill-ful" style="background-image:url('http://placehold.it/1900x1080');"> <div class="container"> <div class="carousel-caption"> <h1 class="h11">Another example headline.</h1> <p class="p">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam.</p> <p><a class="btn btn-default" href="#" role="button">Learn more</a></p> </div> </div> </div> <div class="carousel-item fill-ful" style="background-image:url('http://placehold.it/1900x1080');"> <div class="container"> <div class="carousel-caption"> <h1 class="h11">Another example headline.</h1> <p class="p">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam.</p> <p><a class="btn btn-default" href="#" role="button">Learn more</a></p> </div> </div> </div> </div> <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev"> <i class="fa fa-chevron-left fa-style-slider"></i> </a> <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next"> <i class="fa fa-chevron-right fa-style-slider"></i> </a> </div> <!-- end slider --> <!-- footer --> <div class="footer"> <div class="container"> <div class="row"> <div class="col-lg-3 col-md-4 col-sm-4"> <div class="footer_dv"> <h4>About us</h4> <img class="img-responsive" src="http://via.placeholder.com/250x150" alt="about"> <p></p> <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.</p> </div> </div> <div class="col-lg-3 col-md-4 col-sm-4"> <div class="footer_dv"> <h4>Quick Link</h4> <div class="line-dash"></div> <ul> <li><a class="a-font" href="#">Home</a></li> <li><a class="a-font" href="#">About</a></li> <li><a class="a-font" href="#">Fruits</a></li> <li><a class="a-font" href="#">Sea Food</a></li> <li><a class="a-font" href="#">Vegetables</a></li> <li><a class="a-font" href="#">Blog</a></li> <li><a class="a-font" href="#">Police Privacy</a></li> </ul> </div> </div> <div class="col-lg-3 col-md-4 col-sm-4"> <div class="footer_dv"> <h4>Fruits</h4> <div class="line-dash"></div> <ul> <li><a class="a-font" href="#">Pineapple Steak</a></li> <li><a class="a-font" href="#">Pineapple Steak</a></li> <li><a class="a-font" href="#">Pineapple Steak</a></li> <li><a class="a-font" href="#">Pineapple Steak</a></li> <li><a class="a-font" href="#">Pineapple Steak</a></li> <li><a class="a-font" href="#">Pineapple Steak</a></li> </ul> </div> </div> <div class="col-lg-3 col-md-4 col-sm-4"> <div class="footer_dv"> <h4>Sea food</h4> <div class="line-dash"></div> <ul> <li><a class="a-font" href="#">Pineapple Juice</a></li> <li><a class="a-font" href="#">Pineapple Juice</a></li> <li><a class="a-font" href="#">Pineapple Juice</a></li> <li><a class="a-font" href="#">Pineapple Juice</a></li> <li><a class="a-font" href="#">Pineapple Juice</a></li> <li><a class="a-font" href="#">Pineapple Juice</a></li> </ul> </div> </div> </div> </div> </div> <footer class="py-5 bg-dark"> <div id="copyright"> <div class="container"> <div class="row"> <div class="col-md-4"> <p class="pull-left"><a href="http://lacodeid.com/" style="text-decoration: none;">© 2017 YOUR WEBSITE LACODEID</a></p> </div> <div class="col-md-8"> <ul class="list-inline navbar-right"> <li><a href="#">HOME</a></li> <li><a href="#">MENU ITEM</a></li> <li><a href="#">MENU ITEM</a></li> <li><a href="#">MENU ITEM</a></li> <li><a href="#">MENU ITEM</a></li> <li><a href="#">MENU ITEM</a></li> </ul> </div> </div> </div> </div> </footer> <!-- GO TO TOP --> <a id="back-to-top" alt="_blank" href="#" class="btn back-to-top" role="button" title="" data-toggle="tooltip" data-placement=""><i class="fa fa-arrow-up"></i></a>
body { margin: 0; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; background-color: #f7f7f7; } .navbar { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; padding: 5px; } /* headeer top */ .topbar{ background-color: #212529; padding: 0; } .topbar .container .row { margin:-7px; padding:0; } .topbar .container .row .col-md-12 { padding:0; } .topbar p{ margin:0; display:inline-block; font-size: 13px; color: #f1f6ff; } .topbar p > i{ margin-right:5px; } .topbar p:last-child{ text-align:right; } header .navbar { margin-bottom: 0; } .topbar li.topbar { display: inline; padding-right: 18px; line-height: 52px; transition: all .3s linear; } .topbar li.topbar:hover { color: #1bbde8; } .topbar ul.info i { color: #131313; font-style: normal; margin-right: 8px; display: inline-block; position: relative; top: 4px; } .topbar ul.info li { float: right; padding-left: 30px; color: #ffffff; font-size: 13px; line-height: 44px; } .topbar ul.info i span { color: #aaa; font-size: 13px; font-weight: 400; line-height: 50px; padding-left: 18px; } ul.social-network { border:none; margin:0; padding:0; } ul.social-network li { border:none; margin:0; } ul.social-network li i { margin:0; } ul.social-network li { display:inline; margin: 0 5px; border: 0px solid #2D2D2D; padding: 5px 0 0; width: 32px; display: inline-block; text-align: center; height: 32px; vertical-align: baseline; color: #000; } ul.social-network { list-style: none; margin: 5px 0 10px -25px; float: right; } .waves-effect { position: relative; cursor: pointer; display: inline-block; overflow: hidden; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; vertical-align: middle; z-index: 1; will-change: opacity, transform; transition: .3s ease-out; color: #fff; } a { color: #0a0a0a; text-decoration: none; } li { list-style-type: none; } .bg-image-full { background-position: center center; background-repeat: no-repeat; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; -o-background-size: cover; } .bg-dark { background-color: #222!important; } .mx-background-top-linear { background: -webkit-linear-gradient(45deg, #54d400 48%, #1b1e21 48%); background: -webkit-linear-gradient(left, #54d400 48%, #1b1e21 48%); background: linear-gradient(45deg, #54d400 48%, #1b1e21 48%); } .carousel-caption { position: absolute; right: 15%; bottom: 175px; left: 15%; z-index: 10; padding-top: 20px; padding-bottom: 20px; color: #fff; text-align: center; } .carousel-item { background: no-repeat center center scroll; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } .fill-ful { height: 100vh; min-height: 300px; } @media screen and (max-width: 568px){ .carousel-caption { top: 75px!important; bottom: 75px!important; } } .card-line-slide { display: block; margin: 0 auto; width: 100%; margin-top: 0; margin-bottom: 30px; line-height: 1.5; padding: 0; text-align: center; } .heading-section { text-align: center; padding: 100px 0 80px 0; } #quote-carousel { padding: 0 10px 30px 10px; margin-top: 30px; } #quote-carousel .carousel-control { color: #CACACA; font-size: 2.3em; text-shadow: none; margin-top: 30px; } #quote-carousel .carousel-control.left { left: -60px; } #quote-carousel .carousel-control.right { right: -60px; } #quote-carousel .carousel-indicators { right: 17%; top: auto; bottom: 0px; margin-right: -19px; } #quote-carousel .carousel-indicators li { width: 50px; height: 50px; margin: 5px; cursor: pointer; border: 4px solid #CCC; border-radius: 50px; opacity: 0.4; overflow: hidden; transition: all 0.4s; } #quote-carousel .carousel-indicators .active { width: 128px; height: 128px; border-radius: 100px; border-color: #ffc107; opacity: 1; overflow: hidden; } .carousel-inner { min-height: 300px; } .carousel-item blockquote { border-left: none; margin: 0; } .carousel-item blockquote p:before { content: "\f10d"; font-family: 'Fontawesome'; float: left; margin-right: 10px; } .img-responsive, .thumbnail>img, .thumbnail a>img, .carousel-inner>.item>img, .carousel-inner>.item>a>img { display: block; width: 100% \9; max-width: 100%; height: auto; } .back-to-top { cursor: pointer; position: fixed; border-radius: 25px; bottom: 20px; right: 20px; display: none; background-color: #54d400; border: 2px solid #ffffff; color: #ffffff; transition: all ease-in-out 0.3s; } .fa-style-slider { margin: 0 auto; overflow: visible; background-color: transparent; border-radius: 50px; padding: 15px; width: 47px; height: auto; color: #fff; text-align: center; font-size: 33px; } @media(max-width: 568px){ .fa-style-slider { padding: 10px!important; } } .margin-blank { margin-top: 83px; } .btn-default { color: #fff; background-color: #54d400; border-color: #54d400; border-radius: 1px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; } /*footer*/ .footer { background: #2b2a2a none repeat scroll 0 0; border-top: 3px solid #54d400; margin: 0; padding: 20px 0; } .footer_dv { width: 100%; } .footer_dv h4 { color: #fff; font-weight: bold; margin-bottom: 30px; text-transform: uppercase; } .footer_dv ul { list-style: outside none none; margin: 0; padding: 0; } .footer_dv ul li:first-child { border-top: medium none; box-shadow: none; } .footer_dv ul li { color: #fff; padding: 5px 0; } .footer_dv p { color: #fff; font-size: 14px; line-height: 20px; margin: 0 0 15px; text-align: justify; } .a-font { color: #fff!important; text-decoration: none!important; } .copyright { min-height: 79px; background-color: #343a40; } .copyright p { text-align:left; color:#FFF; padding:10px 0; margin-bottom:0px; } .heading7 { font-size:21px; font-weight:700; color:#d9d6d6; margin-bottom:22px; } .post p { font-size:12px; color:#FFF; line-height:20px; } .post p span { display:block; color:#8f8f8f; } .bottom_ul { list-style-type:none; float: right; margin-bottom: 0px; padding-top: 22px; } .bottom_ul li { float:left; line-height:40px; } .bottom_ul li:after { content:""; color:#FFF; margin-right:8px; margin-left:8px; } .bottom_ul li a { color:#FFF; } #copyright p, #copyright ul { margin: 0; float: left; font-size: 14px; color: #000000; } footer.site-footer ul { padding-left: 0; margin-bottom: 20px; list-style: none; } @media (min-width: 768px){ .navbar-right { float: right!important; margin-right: -15px; } } .list-inline>li { display: inline-block; padding-right: 5px; padding-left: 5px; } .list-inline { padding-left: 0; margin-left: -5px; list-style: none; } .py-5 { padding-top: 3rem!important; padding-bottom: 3rem!important; }
$(document).ready(function(){ $(window).scroll(function () { if ($(this).scrollTop() > 50) { $('#back-to-top').fadeIn(); } else { $('#back-to-top').fadeOut(); } }); // scroll body to 0px on click $('#back-to-top').click(function () { $('#back-to-top').tooltip('hide'); $('body,html').animate({ scrollTop: 0 }, 800); return false; }); $('#back-to-top').tooltip('show'); });

Related: See More


Questions / Comments: