Loading...
March 10, 2012#

CSS3 Saves Again

.element{
box-sizing: border-box;
width:200px; //width will stay 200px
padding:20px;
}

Box-Sizing is my new best friend. Now, we no longer have to hate the padding-width relationship. Thanks, Paul Irish (click through to read).

Leave a Comment