<div class="header-video header-parallax white"> <div class="videobox layer-parallax"> <video autoplay loop muted poster="video-poster.jpg"> <source src="video.mp4" type="video/mp4"> </video> </div> <div class="overlaybox"> <div class="container"> <div class="title-base"> <hr class="anima" /> <h1>TITLE COMPONENT / PARALLAX VIDEO</h1> <p>Lorem Ipsum is simply dummy text of the printing.</p> </div> </div> </div> </div>
<div class="header-video header-parallax white"> <div class="videobox layer-parallax"> <div data-video-youtube="zGtz_GOA79w"></div> </div> <div class="overlaybox"> <div class="container"> <div class="title-base"> <hr class="anima" /> <h1>TITLE COMPONENT / PARALLAX VIDEO</h1> <p>Lorem Ipsum is simply dummy text of the printing.</p> </div> </div> </div> </div>
Name | Type | Description |
---|---|---|
Settings | HTML |
1 ) Add class header-parallax to title object.2 ) Add class layer-parallax to videobox object. |
White | CSS |
Add class white to the container object to convert all colors to white. Use this feature for dark backgrounds.
|
Overlay pattern | Mixed |
Add the code <div class="bg-overlay dotted"></div> into the title, as first row.
Overlay pattern is a feature of Javascript and CSS, complete documentation and patterns list here |
Code location | Information |
Insert the title code just belove header code. Example:
<body> <header> ... </header> <div class="header-video header-parallax"> ... </div> <div class="section-empty"> <div class="container content"> ... </div> </div> <footer> ... </footer> </body> |