some test I've made for my voz.io project
A Pen by Horacio Herrera on CodePen.
.app-container | |
%section.app-header | |
App header | |
%section.app-main-content | |
%section.app-content-wrapper | |
App content Wrapper | |
%aside.app-sidebar | |
App Sidebar |
@import "compass"; | |
* { margin: 0; padding: 0; } | |
html, | |
body | |
{ | |
width: 100%; | |
height: 100%; | |
} | |
.app-container | |
{ | |
background: gray; | |
display: flex; | |
flex-flow: column; | |
height: 100%; | |
} | |
.app-header | |
{ | |
max-height: 50px; | |
height: 50px; | |
background: green; | |
flex: 1 0 0; | |
} | |
.app-main-content | |
{ | |
flex: 3 0 0; | |
display: flex; | |
} | |
.app-content-wrapper | |
{ | |
flex: 3 0 0; | |
background: #ccc; | |
margin: 24px; | |
} | |
.app-sidebar | |
{ | |
//flex: 1 0 0; | |
width: 256px; | |
} |
some test I've made for my voz.io project
A Pen by Horacio Herrera on CodePen.