From 34e1db5f999e1baad31fc398a9914bffb1dcdc63 Mon Sep 17 00:00:00 2001 From: RafiBomb Date: Mon, 19 Dec 2016 14:07:12 -0800 Subject: [PATCH] updates off-canvas docs example --- docs/pages/off-canvas.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/pages/off-canvas.md b/docs/pages/off-canvas.md index 77b0e7121..b6408f362 100644 --- a/docs/pages/off-canvas.md +++ b/docs/pages/off-canvas.md @@ -30,8 +30,8 @@ The Off-canvas container also needs a positioning class to determine which side - `.position-left` - `.position-right` -- `.position-top` -- `.position-bottom` +- `.position-top` +- `.position-bottom` Also be sure the off-canvas panel has a unique ID so it can be targeted by the click trigger. @@ -138,7 +138,7 @@ Foundation's Off-canvas is set to `position: fixed` by default using the `.off-c ```html_example - +
@@ -153,7 +153,7 @@ Foundation's Off-canvas is set to `position: fixed` by default using the `.off-c
-
+
@@ -168,14 +168,14 @@ Foundation's Off-canvas is set to `position: fixed` by default using the `.off-c ## Off-canvas Directions -Foundation's Off-canvas can open from any direction, left, right, top, and bottom. +Foundation's Off-canvas can open from any direction, left, right, top, and bottom. The Off-canvas container requires a positioning class to determine which side of the viewport it opens from: - `.position-left` - `.position-right` -- `.position-top` -- `.position-bottom` +- `.position-top` +- `.position-bottom` ```html_example @@ -365,4 +365,4 @@ Along with the panel, the main content of your page will be housed in its own co
-``` \ No newline at end of file +``` -- 2.47.2