]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update offcanvas transitions copy! 10260/head
authorharry <harmanmanchanda182@gmail.com>
Mon, 26 Jun 2017 19:37:42 +0000 (01:07 +0530)
committerharry <harmanmanchanda182@gmail.com>
Mon, 26 Jun 2017 19:37:42 +0000 (01:07 +0530)
docs/pages/off-canvas.md

index 5d3514445882750ab72a80de0eea228beea3d9e4..84872fd85a0aac443db18ffde5683a21ae65ae7b 100644 (file)
@@ -250,7 +250,10 @@ You can switch the default transition of the off-canvas from pushing the page ov
 There are 2 available transitions: push (`data-transition="push"`) which is the default, and overlap (`data-transition="overlap"`).
 
 ```html
-<div class="off-canvas position-left" id="offCanvasLeft1" data-off-canvas>
+<div class="off-canvas position-left" id="offCanvasLeftOverlap" data-off-canvas data-transition="overlap">
+  <!-- Your menu or Off-canvas content goes here -->
+</div>
+<div class="off-canvas position-right" id="offCanvasRightPush" data-off-canvas data-transition="push">
   <!-- Your menu or Off-canvas content goes here -->
 </div>
 ```