Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1.  
  2. <div id="carouselExampleControls" class="carousel slide" data-ride="carousel" style="margin-bottom: 50px; border-bottom: 1px solid #f5f5f5">
  3.  
  4. <ol class="carousel-indicators">
  5. <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
  6. </ol>
  7.  
  8. <div class="carousel-inner">
  9.  
  10. <div class="carousel-item active">
  11. <a href="<?= $bannerLink ?>">
  12. <img class="d-none d-sm-block" src="<?=base_url($mobile)?>" width="100%" alt="banner_1">
  13.  
  14. <!-- Mobile -->
  15. <img class="d-block d-sm-none" src="<?=base_url($desktop)?>" width="100%" alt="banner_1">
  16. </a>
  17. </div>
  18.  
  19. </div>
  20.  
  21. <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
  22. <span class="carousel-control-prev-icon" aria-hidden="true"></span>
  23. <span class="sr-only">Previous</span>
  24. </a>
  25. <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
  26. <span class="carousel-control-next-icon" aria-hidden="true"></span>
  27. <span class="sr-only">Next</span>
  28. </a>
  29.  
  30. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement