5 ms·
Title is a bit misleading, it's a valid CSS property, not a hack. And the width of block elements has always been predictable, albeit slightly confusing (width
by projectedoptics 14y ago
Title is a bit misleading, it's a valid CSS property, not a hack. And the width of block elements has always been predictable, albeit slightly confusing (width + padding + border = element width, etc.)
Polyfill for supporting IE < 8: https://github.com/Schepp/box-sizing-polyfill https://github.com/Schepp/box-sizing-polyfill