* { box-sizing: border-box } FTW « Paul Irish

* { box-sizing: border-box } FTW « Paul Irish.

I’ve been using the box-sizing rule selectively, usually when getting form elements to stretch to 100% without having to worry about what their internal padding is going to do to the mix. I’m not sure why I never thought to just apply it everything and switch to content-box if needed. I suppose that’s why Pau lrish is Paul Irish.

Leave a comment

Your email address will not be published. Required fields are marked *