<!DOCTYPE html>
<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
