Sections
Featured video
1 variantA video with its title and text, on the light grey band. On the site: the home page.
<section class="section section--alt videoblock">
<div class="deco" aria-hidden="true">
<div class="deco-cluster is-right" style="--rx: 0px; --y: 0px; --w: 326px; --h: 165px">
<img src="assets/svg/deco-grey-checkers.svg" alt="" style="--x: 0px; --y: 0px; --w: 165px; --h: 165px" />
<img src="assets/svg/deco-x-pink.svg" alt="" style="--x: 165px; --y: 0px; --w: 161px; --h: 162px" />
</div>
<span class="is-bottom shape shape--04-2" style="--x: 0px; --b: -8px; --w: 360px; --h: 350px; color: var(--c-coral)"></span>
</div>
<div class="videoblock__inner container">
<figure class="videoblock__media" data-reveal="zoom">
<video
class="videoblock__video"
poster="assets/img/hero.jpg"
playsinline
preload="none"
></video>
<button class="play-btn" type="button" data-player=".videoblock__video">
<span class="play-btn__glyph" aria-hidden="true"></span>
<span class="visually-hidden">Lire la vidéo</span>
</button>
</figure>
<div class="videoblock__body" data-reveal="right" style="--reveal-delay: 120ms">
<h2 class="videoblock__title">Video <strong>Block</strong></h2>
<p class="videoblock__lead">Lorem ipsum dolor sit amet consectetur.</p>
<p class="videoblock__text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer ac est eros maecenas
facilisis imperdiet ornare.
</p>
<a class="btn btn--primary" href="#">
Call to action
<span class="icon icon--arrow" aria-hidden="true"></span>
</a>
</div>
</div>
</section>
Specs
| Classes | .videoblock |
|---|---|
| Design tokens | --space-10 --space-6 |
| Used in | Home |