]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add widescreen codepen!
authorharry <harmanmanchanda182@gmail.com>
Mon, 15 May 2017 20:17:08 +0000 (01:47 +0530)
committerharry <harmanmanchanda182@gmail.com>
Mon, 15 May 2017 20:17:08 +0000 (01:47 +0530)
docs/pages/responsive-embed.md

index 1ff072a1b896e9f6f03592f76f6553f26f7132be..c2f26d066005168b6422e1afa1e5e973e4f3ee57 100644 (file)
@@ -28,6 +28,14 @@ To make sure embedded content maintains its aspect ratio as the width of the scr
 
 Add ratio classes to change the aspect ratio of responsive embeds. The default ratio is 4:3. The `.widescreen` class will change the container's aspect ratio to 16:9.
 
+<p>
+  <a class="" data-open-video="0:39"><img src="https://www.elastic.co/static/images/svg/video-play-btn.svg" class="video-icon" height="30" width="30" alt=""> Watch this part in video</a>
+</p>
+
+<div class="docs-codepen-container">
+  <a class="codepen-logo-link" href="https://codepen.io/IamManchanda/pen/MmXxpO?editors=1100" target="_blank"><img src="{{root}}assets/img/logos/codepen-button.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html_example
 <div class="responsive-embed widescreen">
   <iframe width="560" height="315" src="https://www.youtube.com/embed/WUgvvPRH7Oc" frameborder="0" allowfullscreen></iframe>