I am following the advice at this answer to show a background movie in my jumbotron using bootstrap:
https://stackoverflow.com/a/34624728/9072894
The problem is the content of the web site shows up inside the jumbotron/movie. Here is a fiddle showing the problem:
https://jsfiddle.net/cortical_iv/kae4q601/228/
For instance, the content in <p>
below appears inside the jumbotron:
<div class="jumbotron">
<video id="video-background" preload muted autoplay loop>
<source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">
</video>
<div class="container">
Hello World. I am in the jumbotron. As I should be.
</div>
</div>
<p>
Here is my content. It inside the jumbotron. I want it to be outside the jumbotron.
</p>
How can I make the jumbotron/movie with clear boundaries? For instance, so the main content of my web site, like the stuff inside the <p>
in this simple example, appears outside the jumbotron? The 'Hello World' is meant to be inside the jumbotron.
tag to be out of the jumbotron?
– Lakindu Gunasekara Jan 18 '18 at 16:56` is the main content of the site, and should be outside of the jumbotron. I also updated the fiddle to make this more clear.
– cort Jan 18 '18 at 17:11