3 ms·
CSS requires you to do that in plenty of other places (e.g. if you make your border 1px wider you have to make the element it's on 2px narrower.)
by lmm 13y ago
CSS requires you to do that in plenty of other places (e.g. if you make your border 1px wider you have to make the element it's on 2px narrower.)
- callmevlad 13y agoIf you set box-sizing: border-box [1], you don't need to worry about the latter.