Jump to main content

Embed

File location: sass/layout/helpers/_embed.scss (GitHub)

Create a responsive container for elements such as <iframe> and <embed>, with the .embed class.

<div class="embed radius-10">
  <iframe 
    width="560"
    height="315"
    src="https://www.youtube-nocookie.com/embed/cVFzblT5VPE" 
    title="Video Player">
  </iframe>
</div>

Previous: Embed

Next: Input