Currently have a div with its own background and struggling how to set the background as a video using CSS.
Current set-up is the following:
CSS FOR THE DIV:
.intro-header {
padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
padding-bottom: 50px;
text-align: center;
color: rgb(255, 255, 255);
background: url(../img/intro-bg.jpg) no-repeat center center;
background-size: cover;}
HTML FOR THE DIV:
<div class="intro-header">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="intro-message">
<h2>Welcome To Little Mountain Media</h1>
<h1>WE BELIEVE IN THE POWER OF VISUAL MEDIA</h3>
<hr class="intro-divider">
</div>
</div>
</div>
</div>
</div>
As you can see, quite simple, just want a video in place of the into-bg.jpg
Thanks