I wish we had network speed queries in CSS like `@ media (min-bandwidth: 10mbps) { … }` or `@ media (network-type: 4g) { … }`. My phone can render your high pixel density images, but that assumes I want to use that bandwidth for this. It's a waste of data to detect via JS.


To be fair, there is the `navigator.connection` to get some of this info via JS.

Sign in to participate in the conversation

Cybrespace is an instance of Mastodon, a social network based on open web protocols and free, open-source software. It is decentralized like e-mail.