<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Full Width Responsive Slider</title>
<link href="css/bootstrap.min.css" rel="stylesheet" />
<script src="css/jquery.min.js"></script>
<script src="css/bootstrap.min.js"></script>
</head>
<body>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="item active"> <img src="images/d2.jpg" style="width:100%" alt="First slide"> </div>
<div class="item"> <img src="images/d3.jpg" style="width:100%" data-src="" alt="Second slide"> </div>
<div class="item"> <img src="images/d4.png" style="width:100%" data-src="" alt="Third slide"> </div>
</div>
</div>
</body>
</html>
Download Source Code
<html>
<head>
<meta charset="utf-8">
<title>Full Width Responsive Slider</title>
<link href="css/bootstrap.min.css" rel="stylesheet" />
<script src="css/jquery.min.js"></script>
<script src="css/bootstrap.min.js"></script>
</head>
<body>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="item active"> <img src="images/d2.jpg" style="width:100%" alt="First slide"> </div>
<div class="item"> <img src="images/d3.jpg" style="width:100%" data-src="" alt="Second slide"> </div>
<div class="item"> <img src="images/d4.png" style="width:100%" data-src="" alt="Third slide"> </div>
</div>
</div>
</body>
</html>
Desktop View
Mobile View
Download Source Code
No comments:
Post a Comment