News for hackers. Stuff that matters.
Re:You want enabling CSS selectors, not disabling ones by have_faith on Tuesday August 31, 2021 @07:21PM (#28374802)
This is a bit easier these days with Grid. You can set grid-template-columns: 1fr; and use gap: 20px; to control the spacing which feels much more natural. You can then pad as you like.

edit: realise this is at the end of the article so you probably already know this

Re:You want enabling CSS selectors, not disabling ones by evan_ on Tuesday August 31, 2021 @07:48PM (#28374990)
`gap` is available on Flexbox in most browsers since earlier this year.
Re:You want enabling CSS selectors, not disabling ones by innocenat on Tuesday August 31, 2021 @11:55PM (#28376272)
Currently it's ~86% according to caniuse.com. I think it's still a bit low to be used comfortably.
Re:You want enabling CSS selectors, not disabling ones by pdamoc on Wednesday September 01, 2021 @02:25AM (#28376940)
Good enough for vertical markets and admin/back-office apps.
Re:You want enabling CSS selectors, not disabling ones by codedokode on Wednesday September 01, 2021 @06:17AM (#28378075)
This means that it won't work in a builtin browser of a smartphone made 5 years ago.

I think that average quality websites made for public Internet should use only features that have been supported at least for 5 years in major browsers including mobile. And a high quality site must be usable in 10-years old browser.

Re:You want enabling CSS selectors, not disabling ones by gempir on Wednesday September 01, 2021 @02:47AM (#28377053)
It doesn't work on iOS 13 only grid gap works