summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/flex-shrink-2.html
blob: 70d65839afe5ebd3cd6928ac1b782f608aa293a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<style>
    body {
        font-family: 'SerenitySans';
    }

    .container {
        display: flex;
        border: 1px solid salmon;
        width: 500px;
    }

    .box {
        width: 100px;
        height: 100px;
        border: 1px solid black;
    }
</style>
<div class="container">
    <div class="box" style="flex: 80% 0 3;">1</div>
    <div class="box" style="flex: 80% 0 2;">2</div>
    <div class="box" style="flex: 80% 0 1;">3</div>
</div>