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

index be5d55a712afffd1ba90b0b9ef657318ab323c52..d8b4862d400308dab787a3cddf15fdc42f53c966 100644 (file)
@@ -233,6 +233,13 @@ Because the padding of the menu item is applied to the `<a>`, if you try to add
 
 Menu items can have icons. Wrap the text of the item in a `<span>`, and then add an `<img>` element before the `<span>`. If you're using the Foundation icon font, the `<img>` will be an `<i>` instead.
 
+<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/OmEJQW?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/cp1.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
+
 ```html_example
 <ul class="menu">
   <li><a href="#"><i class="fi-list"></i> <span>One</span></a></li>