Add flexbox test pages

This commit is contained in:
vchimev
2016-11-11 16:06:29 +02:00
parent 707070d87f
commit afd2779626
6 changed files with 121 additions and 0 deletions

View File

@ -0,0 +1,25 @@
#body {
flex-flow: row wrap;
}
.flex-item {
align-items: center;
justify-content: center;
}
.header, .footer {
flex: 1;
width: 100%;
background-color: lightgreen;
}
.main {
flex: 5;
height: 60%;
background-color: lightsalmon;
}
.sidebar {
flex: 1;
background-color: lightblue;
}