]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
docs: add a simpler example in Motion UI docs header 11435/head
authorNicolas Coden <nicolas@ncoden.fr>
Sun, 5 Aug 2018 21:59:44 +0000 (23:59 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sun, 5 Aug 2018 22:08:21 +0000 (00:08 +0200)
docs/pages/motion-ui.md

index 198a8302ea01639d009057a4be3ca7a4cf52d649..ed99f6573d7d6537e499757f3d3613557d9b159b 100644 (file)
@@ -8,9 +8,14 @@ library:
 
 Motion UI is a standalone library that powers the transition effects used in a number of Foundation components, including [Toggler](toggler.html), [Reveal](reveal.html), and [Orbit](orbit.html).
 
+<div class="text-center">
+  <button type="button" class="button" data-toggle="motion-header-example">Animate!</button>
+  <div data-toggler data-animate="fade-in fade-out" id="motion-header-example" style="display: none;">
+    <img src="/assets/img/generic/rectangle-7.jpg" style="width: 100%;">
   </div>
 </div>
 
+
 ---
 
 ## Installing