"Section Video Background"
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
<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 ---------->
<section class="video v-center" style="height: 800px; background-position: 50% 58px;">
<div id="bgVideo" class="background" style="height: 800px;"><video id="video_background" preload="auto" autoplay="autoplay" loop="loop" style="position: fixed; top: -203px; left: 0px; bottom: 0px; right: 0px; z-index: -100; width: 1422px; height: 799.875px;"><source src="http://www.appsburner.com/video/preview.mp4" type="video/mp4"><source src="http://www.appsburner.com/video/preview.webm" type="video/webm">bgvideo</video></div>
<div>
<div class="container">
<div class="hero-unit">
<h2>App Builder</h2>
<h4 class="subtitle">Start building your own app for FREE!</h4>
<a style="margin-top:16px;" class="btn btn-large btn-primary" href="http://www.appsburner.com/login.php" target="_blank">Build Your App</a>
</div>
</div>
</div>
</section>
</section>
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
section.video {
position: relative;
height: 800px;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
color: white;
}
.video.v-center, .video .v-center {
display: table;
width: 100%;
}
.video .hero-unit {
text-align: center;
padding: 0;
margin: 0;
background-color: transparent;
}
.video .container {
position: relative;
z-index: 2;
}
section * {
z-index: 2;
}
section {
font-weight:100;
margin:85px 0;
}
section.video {
position:relative;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: