CSS Box Sizing makes me happy
Posted by Shane O'Sullivan on September 13, 2011
Quick note: For anyone fighting for years against the CSS box model, where the visible size of an element depends on the sum of it’s width, height AND padding, check out the box-sizing: border-box;. It does exactly what we need, where if you say
then myclass will still take up 100% width of its container, instead of overflowing.