]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fixes docs data attribute for off-canvas and adds building block example
authorRafiBomb <rafi@zurb.com>
Wed, 20 Jan 2016 00:38:20 +0000 (16:38 -0800)
committerRafiBomb <rafi@zurb.com>
Wed, 20 Jan 2016 00:38:20 +0000 (16:38 -0800)
docs/pages/off-canvas.md

index 7f5687b42ecfb7ece515b5fa89e5064b47c3d78f..57cc7ecfc8d62bc3bef9643ae9f49369be767d7a 100644 (file)
@@ -27,7 +27,7 @@ To start, create two wrappers to house the page. These are necessary to prevent
 
 Inside these wrapper, create an off-canvas menu with the class `.off-canvas` and the attribute `data-off-canvas`. The menu also needs a positioning class, which can be `.position-left` or `.position-right`. Lastly, make sure the off-canvas has a unique ID so it can be targeted.
 
-Along with the menu, the main content of your page will be housed in its own container with the class `.off-canvas-content` and attribute `data-off-canvas`.
+Along with the menu, the main content of your page will be housed in its own container with the class `.off-canvas-content` and attribute `data-off-canvas-content`.
 
 ```html
 <body>
@@ -90,6 +90,10 @@ If you need a simple title bar to toggle the off-canvas, `.title-bar` is here to
   </div>
 </div>
 ```
+<br>
+#### Responsive Off-Canvas (Putting it all together)
+
+For an example of off-canvas on small screens and Top Bar Menu with Dropdowns, check out this Building Block: http://zurb.com/building-blocks/top-bar-with-off-canvas
 
 ---