This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Flexbox Responsive Off-Canvas Layout */ | |
body, html { width: 100%; height: 100%; padding: 0; margin: 0; } | |
#wrapper { display: -webkit-box; display: -moz-box; display: box; -webkit-box-orient: vertical; -moz-box-orient: vertical; box-orient: vertical; | |
height: 100%; width: 100%; | |
} | |
#fbox { display: -webkit-box; display: -moz-box; display: box; -webkit-box-orient: horizontal; -moz-box-orient: horizontal; box-orient: horizontal; -webkit-box-flex: 1; -moz-box-flex: 1; box-flex: 1; | |
width: 100%; height: 90%; | |
padding: 0; margin: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** OFF-CANVAS LAYOUT **/ | |
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } | |
.container { *zoom: 1; height: 100%; width: auto; margin-left: -26px; position: absolute; margin-right: 0; overflow: hidden; } | |
.container:after { content: ""; display: table; clear: both; } | |
.left, .right, .main { -webkit-transition: 0.3s all ease; -moz-transition: 0.3s all ease; -o-transition: 0.3s all ease; transition: 0.3s all ease; height:100%; padding: 0; } | |
header, footer { overflow: hidden; *zoom: 1; clear: both; padding: 0; text-align: center; } | |
.left {background: green;} .right {background: blue;} .main {background: yellow} | |
/** 1 PANEL **/ |