I have the following - a div with width: 100%, height: 100%, an svg inside the div, width: 100%, height: 100% (by default)
I apply padding to the div. Left, right and top padding work but bottom doesn't, any ideas?
http://codepen.io/BradLee/pen/EKerpY
<div>
<svg viewBox="0 0 100 100"></svg>
</div>
div {
box-sizing: border-box;
background-color: tomato;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 5px;
}
svg{
background-color: lightblue;
}