CSS – Box Sizing with cross browser compatibility.

The Source Code to copy/paste:

.boxsizing {
  -webkit-box-sizing: border-box; /* Android ≤ 2.3, iOS ≤ 4 */
     -moz-box-sizing: border-box; /* Firefox 1+ */
          box-sizing: border-box; /* Chrome, IE 8+, Opera, Safari 5.1 */
}

My official WebSite >