Created
October 3, 2017 08:37
-
-
Save evilnapsis/e13663dd8e42a0b933f9b7ba89cac20d to your computer and use it in GitHub Desktop.
Ejemplo de carousel en bootstrap 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Powered By Evilnapsis --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>.: Bootstrap 4 :.</title> | |
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<br><br><br> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-12"> | |
<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"> | |
<img class="d-block w-100" src="screen-11.png" alt="Screenshot 11"> | |
<div class="carousel-caption d-none d-md-block"> | |
<h3>Titulo</h3> | |
<p>Descripcion</p> | |
<a href="" class="btn btn-primary">Mas informacion</a> | |
</div> | |
</div> | |
<div class="carousel-item"> | |
<img class="d-block w-100" src="screen-10.png" alt="Screenshot 10"> | |
</div> | |
<div class="carousel-item"> | |
<img class="d-block w-100" src="screen-13.png" alt="Screenshot 13"> | |
</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> | |
</div> | |
</div> | |
</div> | |
<script type="text/javascript" src="jquery.min.js"></script> | |
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment