]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add `menu-centered` codepen!
authorharry <harmanmanchanda182@gmail.com>
Sun, 14 May 2017 10:36:16 +0000 (16:06 +0530)
committerharry <harmanmanchanda182@gmail.com>
Sun, 14 May 2017 10:36:16 +0000 (16:06 +0530)
docs/pages/menu.md

index 3f5f6c5e55a791ed8a5995ea2f0dd5838d21ecde..c0cd588b9b976c4da1fc11a88a502015c1d563cb 100644 (file)
@@ -68,6 +68,12 @@ To align items in the middle, add a wrapping element with the class `.menu-cente
   <p>If you're using <a href="flexbox.html">Flexbox mode</a>, you have the option of either using <code>.align-center</code> to the menu like this <a href="https://codepen.io/IamManchanda/pen/bWMXKQ?editors=1100">codepen</a> or instead you can use the default wrapper class below.</p>
 </div>
 
+<div class="docs-video-codepen-container">
+  <a class="" data-open-video="12:00"><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>
+
+  <a class="codepen-logo-link" href="https://codepen.io/IamManchanda/pen/BRxXxO?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/cp1.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html_example
 <div class="menu-centered">
   <ul class="menu">