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

index 2fc98628e5101f3583ca26799232d1121aa39725..1ff072a1b896e9f6f03592f76f6553f26f7132be 100644 (file)
@@ -8,6 +8,14 @@ video: GxUsloI_qnQ
 
 To make sure embedded content maintains its aspect ratio as the width of the screen changes, wrap the `iframe`, `object`, `embed`, or `video` in a container with the `.responsive-embed` class.
 
+<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/MmGEbb?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">
   <iframe width="420" height="315" src="https://www.youtube.com/embed/mM5_T-F1Yn4" frameborder="0" allowfullscreen></iframe>