<!DOCTYPE html>
<html>
<head>
    <style>
        #main {
            width: 100px;
            height: 400px;
            background-color: white;
            border: 1px solid black;
            display: flex;
            flex-direction: column-reverse;
			justify-content: flex-start;
			align-items: start;
        }

        #main div {
            flex-grow: 0;
            flex-shrink: 0;
            flex-basis: 100px;
        }
    </style>
</head>
<body>

<div id="main">
    <div style="background-col