Zurb Foundation 6 Custom package with All components. For example. How to enable Off-Canvas? The CSS file (foundation.css) has necessary styles and in JS file (foundation.js) has some references. No more files are missing. In any packages...
After downloading the package, make sure you include the componet in your html and calling it. make sure you follow the instructions as noted here:
http://foundation.zurb.com/sites/docs/off-canvas.html#setup
also create a button to toggle the off canvas:
<button type="button" class="button" data-toggle="offCanvas">Open Menu</button>
and init the new off-canvas element at your JS file:
var elem = new Foundation.OffCanvas(element, options);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.