3 ms·
> box-sizing: border-box I feel ashamed not knowing about this option. content-box has caused me so many troubles over and over again, and I didn't know it had
by qwertox 5y ago
> box-sizing: border-box
I feel ashamed not knowing about this option. content-box has caused me so many troubles over and over again, and I didn't know it had such an easy solution.
- petepete 5y agoI always thought I knew CSS quite well but only found out about border box quite recently too. My CSS knowledge has improved substantially since subscribing to Kevin Powell's YouTube channel. https://www.kevinpowell.co/ https://www.kevinpowell.co/