summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/flex-item-vertical-padding-relative-to-flex-container-width.html
blob: 3e1bb292744e6573d1f6722261038e2cef22593a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<style>
* {
    border: 1px solid black;
    font-family: 'SerenitySans';
}
.flex-container {
    display: flex;
    width: 600px;
    height: 10px;
}
.flex-item {
    background: orange;
    box-sizing: border-box;
    min-height: 200px;
    padding-top: 10%;
    padding-bottom: 20%;
}
</style>
<body>
<div class="flex-container">
<div class="flex-item">foo</div>