Look at this example = https://codepen.io/anon/pen/zaXMXo
* {
box-sizing: border-box;
}
html, body {
height: 100%
}
.wrapper {
background: red;
min-height: 100%;
}
.left {
position: absolute;
width: 200px;
top: 0;
bottom: 0;
background: yellow;
}
.content {
background: blue;
margin-left: 230px;
margin-top: 30px;
width: 300px;
}
<div class="wrapper">
<div class="left"></div>
<div class="content">
hello content <br />
hello content <br />
hello content <br />
...
</div>
</div>
Can someone tell me:
1) why yellow block not at full height?
2) why blue block margin-top add white space on top?
how fix it?