3 ms·
If you swap margin for padding, then: box-sizing: border-box; magically solves this problem and already works in all browsers (including IE since v8).
by pornel 15y ago
If you swap margin for padding, then:
box-sizing: border-box;
magically solves this problem and already works in all browsers (including IE since v8).