]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add `.menu-text` codepen!
authorharry <harmanmanchanda182@gmail.com>
Sun, 14 May 2017 13:45:25 +0000 (19:15 +0530)
committerharry <harmanmanchanda182@gmail.com>
Sun, 14 May 2017 13:45:25 +0000 (19:15 +0530)
docs/pages/menu.md

index 44e5bfd0d68b4fadbd4f0133517a8e235532aad2..be5d55a712afffd1ba90b0b9ef657318ab323c52 100644 (file)
@@ -210,6 +210,12 @@ Add the class `.active` to any `<li>` to create an active state. You could apply
 
 ## Text
 
+<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/GmGRWp?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/cp1.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 Because the padding of the menu item is applied to the `<a>`, if you try to add an item that's text only, it will be misaligned. To get around this, add the class `.menu-text` to any `<li>` that doesn't have a link inside of it.
 
 ```html_example