<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
link
rel
=
"stylesheet"
href
=
<
link
rel
=
"stylesheet"
href
=
"//cdnjs.cloudflare.com/ajax/libs/foundicons/3.0.0/foundation-icons.min.css"
/>
<
script
src
=
</
script
>
<
script
src
=
</
script
>
</
head
>
<
body
>
<
center
>
<
h1
style
=
"color:green;"
>
GeeksforGeeks
</
h1
>
<
strong
>
Foundation CSS Off-canvas Multiple Panels
</
strong
>
</
center
>
<
div
style
=
"margin:2% 30%;"
>
<
button
type
=
"button"
class
=
"button"
data-toggle
=
"offCanvasLeftSplit1"
>
Open Left Panel
</
button
>
<
button
type
=
"button"
class
=
"button"
data-toggle
=
"offCanvasTopSplit2"
style
=
"margin-left: 5rem;"
>
Open Top Panel
</
button
>
<
button
type
=
"button"
class
=
"button"
data-toggle
=
"offCanvasRightSplit3"
style
=
"margin-left: 5rem;"
>
Open Right Panel
</
button
>
<
div
class
=
"grid-x grid-margin-x"
style
=
"width:50rem;"
>
<
div
class
=
"cell small-6"
style
=
"margin-left:-4rem;"
>
<
div
class
=
"off-canvas-wrapper"
>
<
div
class
=
"off-canvas-absolute position-left"
id
=
"offCanvasLeftSplit1"
data-off-canvas>
<
p
>I am inside left off-canvas</
p
>
</
div
>
<
div
class
=
"off-canvas-content"
style
=
"min-height:300px;"
data-off-canvas-content>
</
div
>
</
div
>
</
div
>
<
div
class
=
"cell small-6"
style
=
"margin-left:-14rem;width:14rem;"
>
<
div
class
=
"off-canvas-wrapper"
>
<
div
class
=
"off-canvas-absolute position-top"
id
=
"offCanvasTopSplit2"
data-off-canvas>
<
p
>I am inside Top off-canvas</
p
>
</
div
>
<
div
class
=
"off-canvas-content"
style
=
"min-height:300px;"
data-off-canvas-content>
</
div
>
</
div
>
</
div
>
<
div
class
=
"cell small-6"
style
=
"margin-left:-15rem;"
>
<
div
class
=
"off-canvas-wrapper"
>
<
div
class
=
"off-canvas-absolute position-right"
id
=
"offCanvasRightSplit3"
data-off-canvas>
<
p
>I am inside right off-canvas</
p
>
</
div
>
<
div
class
=
"off-canvas-content"
style
=
"min-height:300px;"
data-off-canvas-content>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<
script
>
$(document).foundation();
</
script
>
</
body
>
</
html
>