]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add Responsive accordion tabs codepen
authorharry <harmanmanchanda182@gmail.com>
Mon, 15 May 2017 17:53:37 +0000 (23:23 +0530)
committerharry <harmanmanchanda182@gmail.com>
Mon, 15 May 2017 17:53:37 +0000 (23:23 +0530)
- Accordion HTML Markup
- Tabs HTML Markup

docs/pages/responsive-accordion-tabs.md

index c81938859ced4c5fc39eb7bcdb09914af1c61c5f..a56f35f2af87efad1a302af584d0fc140515f1a2 100644 (file)
@@ -14,7 +14,7 @@ tags:
 
 Either the <a href="accordion.html">Accordion Markup</a> or the <a href="tabs.html">Tabs Markup</a> can be used to responsively switch between the two components at different breakpoints.
 
-The Accordion should have an id specified, but the plugin will automatically generate one if the id is omitted.
+The Accordion should have an id specified, but the plugin will automatically generate one if the id is omitted. 
 
 Accordion content should also have an ID, or the # of the href should be specified, otherwise a random id will be generated
 
@@ -24,6 +24,14 @@ Accordion content should also have an ID, or the # of the href should be specifi
 
 #### Accordion HTML Markup
 
+<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/eWKPqE?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/codepen-button.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html
 <ul class="accordion" data-responsive-accordion-tabs="accordion medium-tabs large-accordion">
   <li class="accordion-item is-active" data-accordion-item>
@@ -63,6 +71,14 @@ Accordion content should also have an ID, or the # of the href should be specifi
   </li>
 </ul>
 
+<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/mmKQVN?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/codepen-button.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 #### Tabs HTML Markup
 
 ```html