JSFiddle - React, Tailwind, and code Playground

by igalst

HTML

<ul>
    <li>1</li>
    <li>2</li>
    <li>3</li>
    <li>4</li>
    <li>5</li>
    <li>6</li>
    <li>7</li>
    <li>8</li>
    <li>9</li>
    <li>10</li>
    <li>11</li>
</ul>

CSS

body { direction: ltr; }

li {
    margin   : 5px;
    background : #ccc;
    border: solid 1px red;
    -webkit-box-flex: 1;
    height: 100%;
}

/*li:nth-child(3):after {
    content: '!';
    display: block;
}*/

ul {
    width: 300px;
    background: pink;
    display: -webkit-box;
}



li:nth-child(1) { height: 30px; }
li:nth-child(2) { height: 38px; }
li:nth-child(3) { height: 42px; }
li:nth-child(4) { height: 28px; }
li:nth-child(5) { height: 55px; }
li:nth-child(6) { height: 65px; }
li:nth-child(7) { height: 40px; }
li:nth-child(8) { height: 30px; }
li:nth-child(9) { height: 45px; }
li:nth-child(10) { height: 26px; }
li:nth-child(11) { height: 30px; }