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

index d20db7ed354ad2a5904bfc1b77758477a5159b82..4b6273f717828e6efbea8d3d83af680c583b70e5 100644 (file)
@@ -139,6 +139,14 @@ Add the `.vertical` class to a tabstrip to stack tabs vertically. You can also p
 
 Add the attribute `data-active-collapse="true"` to a tabstrip to collapse active tabs.
 
+<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/LyrJQZ?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/codepen-button.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html_example
 <ul class="tabs" data-active-collapse="true" data-tabs id="collapsing-tabs">
   <li class="tabs-title is-active"><a href="#panel1c" aria-selected="true">Tab 1</a></li>