summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/vertical-padding-relative-to-cb-width.html
blob: fd5f6f302f3502cd55b9b209c38cf4c7ddb77883 (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';
}
.cb {
    width: 600px;
    height: 10px;
}
.foo {
    background: orange;
    box-sizing: border-box;
    height: 200px;
    padding-top: 10%;
    padding-bottom: 20%;
}
</style>
<body>
<div class="cb">
<div class="foo">foo</div>
bar