Posted By

thewickedchemist on 06/08/12


Tagged

css box model CSS-Tricks paul irish


Versions (?)

Universal box-sizing border-box


 / Published in: CSS
 

URL: http://paulirish.com/2012/box-sizing-border-box-ftw/

Thanks Paul Irish ;)

  1. /* apply a natural box layout model to all elements */
  2. * {
  3. box-sizing: border-box;
  4. -moz-box-sizing: border-box;
  5. -webkit-box-sizing: border-box;
  6. }

Report this snippet  

You need to login to post a comment.