"Full Width Responsive Carousel with Pill Navigation"
Bootstrap 3.3.0 Snippet by vidal

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<section class="features">
<div class="container">
<div class="col-md-8">
<div class="row">
<div class="col-md-4 col-sm-3 text-center icon">
<i class="fa fa-magic fa-5x"></i>
</div>
<div class="col-md-8 col-sm-9">
<h2>Website to App</h2>
<p>Use the content on your website as a springboard to build apps for iOS,
Android and Windows Phone 8. Or build your app entirely from scratch.</p>
</div>
</div>
<div class="row">
<div class="col-md-4 col-sm-3 text-center icon">
<i class="fa fa-cubes fa-5x"></i>
</div>
<div class="col-md-8 col-sm-9">
<h2>Build and Design</h2>
<p>Create unique apps with or use pre-defined skins and design features.</p>
</div>
</div>
<div class="row">
<div class="col-md-4 col-sm-3 text-center icon">
<i class="fa fa-pencil-square-o fa-5x"></i>
</div>
<div class="col-md-8 col-sm-9">
<h2>Edit and Publish</h2>
<p>View your changes live on your smartphone while you are building. Or use the browser simulator on your computer.</p>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
h1,h2,h3,h4 {font-weight:100}
p {
font-size: 18.004px;
line-height: 1.722169;
}
.container {
position: relative;
z-index: 2;
}
section * {
z-index: 2;
}
section {
font-weight:100;
margin:85px 0;
}
section.video {
position:relative;
height:800px;
-webkit-background-size:cover;
-moz-background-size:cover;
-o-background-size:cover;
background-size:cover;
color:#FFF;
}
.shadow-text h2, .shadow-text h3, .shadow-text h4, .shadow-text h5, .shadow-text h6, .shadow-text p {
text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$(document).ready( function() {
$('#appshowcase').carousel({
interval: 4000
});
var clickEvent = false;
$('#appshowcase').on('click', '.nav a', function() {
clickEvent = true;
$('.nav li').removeClass('active');
$(this).parent().addClass('active');
}).on('slid.bs.carousel', function(e) {
if(!clickEvent) {
var count = $('.nav').children().length -1;
var current = $('.nav li.active');
current.removeClass('active').next().addClass('active');
var id = parseInt(current.data('slide-to'));
if(count == id) {
$('.nav li').first().addClass('active');
}
}
clickEvent = false;
});
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: