Last active
November 9, 2018 07:31
-
-
Save benznest/a2c5683a2f19ddd26617415821a2b141 to your computer and use it in GitHub Desktop.
bootstrap carousel
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>News</title> | |
<link rel="stylesheet" href="css/minty.min.css" /> | |
</head> | |
<body> | |
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top"> | |
<a class="navbar-brand text-white">Benznest's blog</a> | |
<button class="navbar-toggler" data-target="#my-nav" data-toggle="collapse"> | |
<span class="navbar-toggler-icon"></span> | |
</button> | |
<div id="my-nav" class="collapse navbar-collapse"> | |
<ul class="navbar-nav mr-auto"> | |
<li class="nav-item"><a class="nav-link active" href="#">Home</a></li> | |
<li class="nav-item dropdown"> | |
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown">Service</a> | |
<div class="dropdown-menu"> | |
<a class="dropdown-item" href="#">App</a> | |
<a class="dropdown-item" href="#">Website</a> | |
<a class="dropdown-item" href="#">Desktop</a> | |
<a class="dropdown-item" href="#">IoT</a> | |
<a class="dropdown-item" href="#">Android</a> | |
<a class="dropdown-item" href="#">iOS</a> | |
<a class="dropdown-item" href="#">Windows</a> | |
<a class="dropdown-item" href="#">Linux</a> | |
</div> | |
</li> | |
<li class="nav-item"><a class="nav-link" href="#">About</a></li> | |
<li class="nav-item"><a class="nav-link" href="#">Contact</a></li> | |
</ul> | |
</div> | |
</nav> | |
<div class="container-fluid mt-5 p-0"> | |
<div id="my-carousel" class="carousel slide" data-ride="carousel" data-interval="500"> | |
<ol class="carousel-indicators" > | |
<li class="active" data-target="#my-carousel" data-slide-to="0"></li> | |
<li class="" data-target="#my-carousel" data-slide-to="1"></li> | |
<li class="" data-target="#my-carousel" data-slide-to="2"></li> | |
</ol> | |
<div class="carousel-inner"> | |
<div class="carousel-item active"> | |
<img class="d-block w-100" src="img/banner/banner3.jpg"> | |
<div class="carousel-caption d-none d-md-block"> | |
<h5>Hello , world</h5> | |
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam aliquid doloremque, </p> | |
</div> | |
</div> | |
<div class="carousel-item"> | |
<img class="d-block w-100" src="img/banner/banner4.jpg"> | |
<div class="carousel-caption d-none d-md-block"> | |
<h5>Hello , world</h5> | |
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam aliquid doloremque, </p> | |
</div> | |
</div> | |
<div class="carousel-item"> | |
<img class="d-block w-100" src="img/banner/banner5.jpg"> | |
<div class="carousel-caption d-none d-md-block"> | |
<h5>Hello , world</h5> | |
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam aliquid doloremque, </p> | |
</div> | |
</div> | |
</div> | |
<a class="carousel-control-prev" href="#my-carousel" data-slide="prev"> | |
<span class="carousel-control-prev-icon"></span> | |
</a> | |
<a class="carousel-control-next" href="#my-carousel" data-slide="next"> | |
<span class="carousel-control-next-icon"></span> | |
</a> | |
</div> | |
</div> | |
<div class="container mt-"> | |
<div class="row mt-3"> | |
<div class="col"> | |
<div class="card"> | |
<img class="card-img-top" src="img/staffs/staff1.jpg"> | |
<div class="card-body"> | |
<h4 class="card-title">Manager</h4> | |
<p class="card-text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores excepturi | |
modi voluptate</p> | |
<a href="#" class="btn btn-primary">Read more</a> | |
</div> | |
</div> | |
</div> | |
<div class="col"> | |
<div class="card"> | |
<div class="card-body"> | |
<h4 class="card-title">Designer</h4> | |
<p class="card-text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores excepturi | |
modi voluptate</p> | |
<a href="#" class="btn btn-primary">Read more</a> | |
</div> | |
<img class="card-img-bottom" src="img/staffs/staff2.jpg"> | |
</div> | |
</div> | |
<div class="col"> | |
<div class="card"> | |
<img class="card-img-top" src="img/staffs/staff3.jpg"> | |
<div class="card-body"> | |
<h4 class="card-title">Developer</h4> | |
<p class="card-text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores excepturi | |
modi voluptate</p> | |
<a href="#" class="btn btn-primary">Read more</a> | |
</div> | |
</div> | |
</div> | |
<div class="col"> | |
<div class="card"> | |
<div class="card-body"> | |
<h4 class="card-title">Tester</h4> | |
<p class="card-text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores excepturi | |
modi voluptate</p> | |
<a href="#" class="btn btn-primary">Read more</a> | |
</div> | |
<img class="card-img-bottom" src="img/staffs/staff4.jpg"> | |
</div> | |
</div> | |
</div> | |
<div class="row mt-5"> | |
<div class="col-md-6"> | |
<h3>Video gallery</h3> | |
<div class="embed-responsive embed-responsive-4by3"> | |
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/5nLWk7kzXgI?ecver=1" | |
frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" | |
allowfullscreen></iframe> | |
</div> | |
</div> | |
<div class="col-md-6"> | |
<h3>Photo gallery</h3> | |
<ul class="list-unstyled"> | |
<li> | |
<div class="media"> | |
<img class="w-50" src="img/content/office1.jpg"> | |
<div class="media-body pl-3"> | |
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Neque aliquam nisi | |
officiis aut | |
beatae. Voluptas, aliquid! Nostrum quam architecto </p> | |
</div> | |
</div> | |
</li> | |
<li> | |
<div class="media"> | |
<img class="w-50" src="img/content/office3.jpg"> | |
<div class="media-body pl-3"> | |
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Neque aliquam nisi | |
officiis aut | |
beatae. Voluptas, aliquid! Nostrum quam architecto </p> | |
</div> | |
</div> | |
</li> | |
<li> | |
<div class="media"> | |
<img class="w-50" src="img/content/office2.jpg"> | |
<div class="media-body pl-3"> | |
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Neque aliquam nisi | |
officiis aut | |
beatae. Voluptas, aliquid! Nostrum quam architecto </p> | |
</div> | |
</div> | |
</li> | |
</ul> | |
</div> | |
</div> | |
</div> | |
<script src="js/jquery-3.3.1.min.js"></script> | |
<script src="js/popper_1_14_3.min.js"></script> | |
<script src="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