summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/flex-column-item-with-auto-height-depending-auto-width-with-max-width-constraint.html
blob: 807aed0d85879c1bb3cd9435e2f14c078d344a7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html><html><head><style>
    * {
        border: 1px solid black;
        margin: 0;
        padding: 0;
        font: 60px SerenitySans;
    }
    html {
        background: white;
    }
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 600px;
        background: pink;
    }
    .header {
        max-width: 400px;
        background: orange;
    }
</style></head><body class="hero"><div class="header">This entire text should be on an orange background.</div></body></html>