5 ms·
My favorite CSS one liner is "gap" property in flexbox layouts.
by butz 5y ago
My favorite CSS one liner is "gap" property in flexbox layouts.
- anschwa 5y agoAgreed! I spent way too long doing flexbox layouts before I discovered 'gap'.
- infensus 5y agoWell, gap for flexbox is fairly new https://caniuse.com/flexbox-gap https://caniuse.com/flexbox-gap
- jrochkind1 5y agoI literally did not realize this was a thing. And I write flexbox all the time. How did I miss this?