]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update to include how to adjust speed in HTML 10060/head
authorPaul <paulvantuyl@users.noreply.github.com>
Sun, 21 May 2017 19:44:39 +0000 (12:44 -0700)
committerGitHub <noreply@github.com>
Sun, 21 May 2017 19:44:39 +0000 (12:44 -0700)
Took me some time to find out how to adjust the speed of the reveal by adjusting the attributes the right way.

docs/pages/reveal.md

index 9538487597ba46dfc29c5c8ee2a90afc21ae3593..18c414695bdf0e49831a020f7148bcaaf69fad48 100644 (file)
@@ -191,7 +191,7 @@ To remove the overlay, add the attribute `data-overlay="false"` to the modal.
 
 ### Animations
 
-To use animations from the Motion UI library, include the <code>data-animation-in="someAnimationIn"</code> and <code>data-animation-out="someAnimationOut"</code> attributes.
+To use animations from the Motion UI library, include the <code>data-animation-in="someAnimationIn"</code> and <code>data-animation-out="someAnimationOut"</code> attributes. If you want to adjust the speed or timing, include it the attributes like <code>data-animation-in="someAnimationIn fast"</code>.
 
 <p>
   <a class="" data-open-video="5:40"><img src="{{root}}assets/img/icons/watch-video-icon.svg" class="video-icon" height="30" width="30" alt=""> Watch this part in video</a>