summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/reference/nested-orthogonal-flexbox-relayout-ref.html
blob: 124ecf843c848a71918559c0b853032184a5e5b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<style>
#column {
    display: flex;
    flex-direction: column;
    border: 5px solid yellow;
    width: 200px;
}

#row {
    display: flex;
    flex-direction: row;
    border: 5px solid blue;
}

.item {
    border: 5px solid green;
}
</style>
<body>
<div id="column">
    <div id="row">
        <div class="item">This text should not overflow its box</div>
    </div>
</div>