Re:Rebuilding a featured news section with modern CSS: Vox news
by ecuaflo on Sunday April 30, 2023 @03:36PM
(#35765896)
You should consider using a polyfill
Re:Rebuilding a featured news section with modern CSS: Vox news
by bobthepanda on Sunday April 30, 2023 @04:52PM
(#35766519)
Polyfills can be quite expensive on a client device depending on their complexity, so they’re not some kind of free lunch.
Re:Rebuilding a featured news section with modern CSS: Vox news
by lelandfe on Sunday April 30, 2023 @05:05PM
(#35766618)
Expensive in a few ways. Deferring styles to execution time means users on slow networks or devices will have an absolutely brutal load experience.
This might all be an acceptable trade off depending on one's user base, of course!
If you use them, you'll need to show outdated browser warnings for basically all browsers older than September 2022. Your site will be horrifically broken without container query support.
I'm investigating if we want to even do that at my job. That's a pretty steep cost.