<!DOCTYPE html>
<html>
<style>
.flexbox {
    display: -webkit-flex;
    background-color: #aaa;
    position: relative;
    -webkit-flex-wrap: wrap;
}

.horizontal {
    width: 200px;
    height: 120px;
}
.horizontal > div {
    min-height: 20px;
}
.horizontal > :nth-child(1) {
    width: 100px;
    min-height: 10px;
}
.horizontal > :nth-child(2) {
    width: 100px;
}
.horizontal > :nth-child(3) {
    width: 200px;
}
.horizontal > :nth-child(4) {
    width: 50px;
}

.vertical-rl {
    -webkit-writing-mode: