Flexbox Test

http://css-tricks.com/snippets/css/a-guide-to-flexbox/

by rulokc

HTML

<div class="container">
    <div class="item">1</div>
    <div class="item">2</div>
    <div class="item">3</div>
    <div class="item">4</div>
    <div class="item">5</div>
    <div class="item">6</div>
    <div class="item">7</div>
</div>

CSS

.container {
    width: 400px;
    height: 250px;
    background-color: #eef;
    display: flex;
    /*flex-direction: row;
    flex-wrap: nowrap;*/
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: stretch;
}
.item {
    width: 100px;
    height: 100px;
    0background: -webkit-linear-gradient(left, #1e5799 0%,#7db9e8 100%);
    background: -webkit-radial-gradient(center, ellipse cover, #7db9e8 0%,#1e5799 100%);
}