2 ms·
> you can usually solve this problem by applying padding to a element that has box-sizing: border-box set. And what if your element is already using padding/a
by ris 13y ago
> you can usually solve this problem by applying padding to a element that has box-sizing: border-box set.
And what if your element is already using padding/a border for something else and you don't want to have to fill your DOM tree with loads of pointless levels of wrapper elements?
- monkeynotes 13y agoAs I say, you can usually solve your problem this way.