"Bootstrap 4 carousel"
Bootstrap 4.1.1 Snippet by danilawp

<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="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <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"> <div class="carousel-item active"> <div class="container"> <div class=" row featurette sertification"> <div class="col-md-5"> <h2 class="featurette-heading first">АВТОРИЗОВАНЫЙ ДИЛЛЕР <span class="inspan">AURORA В КАЗАХСТАНЕ</span></h2> <p class="lead first-p"></p> </div> <div class="col-md-5"> <img class="col-md-5-img" src="https://szaurora.kz/image/catalog/sertificat-ONLY.jpg" alt="Generic placeholder image"> </div> </div> </div> <img class="d-block w-100" src="https://szaurora.kz/image/catalog/BG_1.jpg" style="max-height:500px; background-size:cover;" alt="First slide"> </div> <div class="carousel-item"> <img class="d-block w-100" src="https://images.pexels.com/photos/908284/pexels-photo-908284.jpeg?auto=compress&cs=tinysrgb&h=450&w=940" alt="Second slide"> </div> <div class="carousel-item"> <img class="d-block w-100" src="https://images.pexels.com/photos/270360/pexels-photo-270360.jpeg?auto=compress&cs=tinysrgb&h=450&w=940" alt="Third slide"> </div> </div> <a class="carousel-control-prev" href="#carouselExampleIndicators" 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="#carouselExampleIndicators" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div>
.sertification{ position:absolute; margin-top:1%; max-height:80%; } .first{color:white; margin-top:30%;} .inspan{color:yellow;} .col-md-5 p{color:#fff;} col-md-5-img{margin-left:80%; width:100%;} @media (max-width:657px){ .sertification{ position:absolute; margin-top:1%; max-height:80%; font-size:0.7em; } .first{color:white;z-index:999; position:absolute; margin-top:5%; font-size:1em;} .col-md-5 p{color:#fff; font-size:1em; .col-md-5-img{ position:absolute; z-index:-1; width:50px; margin-top:-50%;} } }

Related: See More


Questions / Comments: