]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add codepen for vanilla helpers, responsive classes & source ordering! 10267/head 10268/head
authorharry <harmanmanchanda182@gmail.com>
Tue, 27 Jun 2017 18:48:54 +0000 (00:18 +0530)
committerharry <harmanmanchanda182@gmail.com>
Tue, 27 Jun 2017 18:48:54 +0000 (00:18 +0530)
docs/pages/flexbox-utilities.md

index a596a587413492bad4f58caa8319323d0672820c..92992e87e6cdac6cb01618615c5fe13289d4ab1e 100644 (file)
@@ -199,6 +199,10 @@ For children, there are 3 quick helper classes to apply the flex property. These
 - `.flex-child-grow` (flex child that will grow to take up all possible space)
 - `.flex-child-shrink` (flex child that will shrink to minimum possible space)
 
+<div class="docs-codepen-container">
+<a class="codepen-logo-link" href="https://codepen.io/IamManchanda/pen/bRYmRZ?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/edit-in-browser.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html_example
 <div class="grid-x grid-padding-x">
   <div class="cell small-4 flex-container flex-dir-column">
@@ -224,6 +228,10 @@ These vanilla flexbox helper classes also have an optional mobile first responsi
 
 These optional responsive classes can be disabled by setting `$flexbox-responsive-breakpoints` to `false`. See [here](#sass-variables)
 
+<div class="docs-codepen-container">
+<a class="codepen-logo-link" href="https://codepen.io/IamManchanda/pen/yXPRjY?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/edit-in-browser.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html_example
 <div class="grid-x grid-padding-x">
   <div class="cell small-12 flex-container flex-dir-column large-flex-dir-row">
@@ -257,6 +265,10 @@ We have a set of classes that make it easy to setup source ordering in your HTML
   <a class="" data-open-video="27:19"><img src="{{root}}assets/img/icons/watch-video-icon.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/ZyaqNL?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/edit-in-browser.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html_example
 <div class="grid-x grid-padding-x">
   <div class="cell small-6 small-order-2 medium-order-1">