"Carousel with caption"
Bootstrap 3.3.0 Snippet by imsachin

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/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 ----------> <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/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 ----------> <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/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> <title>HTML</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <!--[if IE]> <link href="~/Content/NewHomePage/all-ie-only.css" rel="stylesheet" /> <![endif]--> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="style.css"> </head> <body> <!-- Banner --> <section class="container-fluid sliderBG"> <div class="row"> <div id="carousel-slide" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#carousel-slide" data-slide-to="0" class="active"></li> <li data-target="#carousel-slide" data-slide-to="1"></li> <li data-target="#carousel-slide" data-slide-to="2"></li> <li data-target="#carousel-slide" data-slide-to="3"></li> <li data-target="#carousel-slide" data-slide-to="4"></li> <li data-target="#carousel-slide" data-slide-to="5"></li> </ol> <!-- Wrapper for slides --> <div class="carousel-inner" role="listbox"> <div class="item active"> <img src="http://lorempixel.com/1920/1920/city/9/" class="img-responsive" alt="image"> <div class="carousel-caption"> <h4 class="headL"> Lorem ipsum dolor sit amet </h4> <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit quo voluptate nostrum molestiae cupiditate numquam, iure aliquid? Dolorem consectetur mollitia commodi aperiam fugit cum libero, reprehenderit explicabo. Id, fugit? Cumque. </p> </div> </div> <div class="item"> <img src="http://lorempixel.com/1920/1920/city/9/" class="img-responsive" alt="image"> <div class="carousel-caption"> <h4 class="headL"> Lorem ipsum dolor sit amet </h4> <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit quo voluptate nostrum molestiae cupiditate numquam, iure aliquid? Dolorem consectetur mollitia commodi aperiam fugit cum libero, reprehenderit explicabo. Id, fugit? Cumque. </p> </div> </div> <div class="item"> <img src="http://lorempixel.com/1920/1920/city/9/" class="img-responsive" alt="image"> <div class="carousel-caption"> <h4 class="headL"> Lorem ipsum dolor sit amet </h4> <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit quo voluptate nostrum molestiae cupiditate numquam, iure aliquid? Dolorem consectetur mollitia commodi aperiam fugit cum libero, reprehenderit explicabo. Id, fugit? Cumque. </p> </div> </div> <div class="item"> <img src="http://lorempixel.com/1920/1920/city/9/" class="img-responsive" alt="image"> <div class="carousel-caption"> <h4 class="headL"> Lorem ipsum dolor sit amet </h4> <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit quo voluptate nostrum molestiae cupiditate numquam, iure aliquid? Dolorem consectetur mollitia commodi aperiam fugit cum libero, reprehenderit explicabo. Id, fugit? Cumque. </p> </div> </div> <div class="item"> <img src="http://lorempixel.com/1920/1920/city/9/" class="img-responsive" alt="image"> <div class="carousel-caption"> <h4 class="headL"> Lorem ipsum dolor sit amet </h4> <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit quo voluptate nostrum molestiae cupiditate numquam, iure aliquid? Dolorem consectetur mollitia commodi aperiam fugit cum libero, reprehenderit explicabo. Id, fugit? Cumque. </p> </div> </div> <div class="item"> <img src="http://lorempixel.com/1920/1920/city/9/" class="img-responsive" alt="image"> <div class="carousel-caption"> <h4 class="headL"> Lorem ipsum dolor sit amet </h4> <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit quo voluptate nostrum molestiae cupiditate numquam, iure aliquid? Dolorem consectetur mollitia commodi aperiam fugit cum libero, reprehenderit explicabo. Id, fugit? Cumque. </p> </div> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#carousel-slide" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#carousel-slide" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </div> <!-- <div class="jumbotron mainBG-txt mr0"> <div class="container"> <div class="row text-center jum-bg"> <h1 class="mr0"><strong> Welcome to Portal </strong></h1> <p> Lorem ipsum dolor sit, amet consectetur adipisicing elit. Adipisci quas dolore excepturi iste libero architecto. Error adipisci, totam possimus et nulla voluptatem minus odio cum quasi qui, alias iusto vero. </p> </div> </div> </div> --> </section> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <script src="custom.js"></script> </body> </html>
.sliderBG .carousel-caption {background-color: rgba(0, 0, 0, 0.80);padding: 15px 10px; color: #fff;width: 50%; top: 50%; left: 50%; bottom: inherit; transform: translate(-50%, -50%); border-top-left-radius: 30px; border-bottom-right-radius: 30px;} .sliderBG .carousel-caption .headL {color: #ffffff; font-size: 30px;text-shadow: 3px 2px 3px #ff002e; text-transform: uppercase;} .dropdown.our-places.open .dropdown-toggle {background-color: #ff002e !important; color:#fff !important; border-radius: 1px;} .dropdown.our-places .dropdown-menu {border-radius: 1px;padding: 0;} .dropdown.our-places .dropdown-menu a {color: #000; margin-top: 1px; padding: 8px 10px;font-size: 16px;} .dropdown.our-places .dropdown-menu a:hover, .dropdown.our-places .dropdown-menu a:active, .dropdown.our-places .dropdown-menu a:focus {background-color: #ff002e;color: #fff; margin-top: 1px; padding: 8px 10px;} .sliderBG .carousel-indicators {bottom: -10px;} .sliderBG .carousel-indicators li {border: 1px solid #ff002e;} .sliderBG .carousel-indicators .active {background-color:#ff002e;}

Related: See More


Questions / Comments: