10 posts total
Just a wee reminder that "global support percentages" for browser features mean literally nothing other than fun dinner party conversation. What matters is the support percentages for the people visiting your website, which are unique to your website, and differ from website to website for all sorts of reasons. @chriscoyier (and even then support percentages are heavily influenced by survivorship bias) It's wild to me that just using Google Fonts (the hosted-by-Google way) immediately makes you in violation of GDPR. https://termageddon.com/google-fonts-violates-gdpr/ You can always self-host though: https://gwfh.mranftl.com/fonts Or it's a one-clicker on Cloudflare: https://developers.cloudflare.com/speed/optimization/content/fonts/
Show previous comments
I always take all outside links to any of those corporate spyware systems out when using someone else's code 🤬🤬🤬 @chriscoyier by extension, using something like recapcha would also make you non compliant as that downloads Google fonts in the background for the UI. I’m sure other Google services act in a similar way. Good reminder: don't lazy load hero or product images. https://cloudfour.com/thinks/stop-lazy-loading-product-and-hero-images/ It hurts both your UX and your Largest Contentful Paint (LCP) score. If your LCP is still bad, here's good information on finding out why: https://whitep4nth3r.com/blog/your-bad-lcp-score-might-be-a-backend-issue/ It's one of those few-ish performance things that can easily be more back-end than front-end. @chriscoyier that is a great reminder. Sometimes it’s easy to fall down the optimse all the things route. Thanks! Nice remembrance of ahead-of-it's-time Yahoo! Pipes. (Presumably Retool published it as a little way to say *Remember that? That was cool. But like, we can do that stuff too, now, better.") I remember stitching RSS feeds together in Pipes and loving it. I feel like Zapier is a bit more pipes-like these days though. God yes, used to use Yahoo! Pipes to mash up RSS feeds from various music sites and get a feed of upcoming local gigs in iGoogle. Web 1.0 was great. I really like this idea of highlighting the Mastodon account of the author of an article. It's declared in HTML. I put it on my site. I suppose it will be up to clients to show it, assuming it makes it way to appropriate APIs or whatever. ``` (via @matthiasott —https://matthiasott.com/notes/highlighting-blogging-on-mastodon)
Show previous comments
@chriscoyier @matthiasott what the #fediverse really needs is a way for the user of a browser to indicate to all mastodon instances which account is their primary, so that things like "follow", "favorite" and "reblog" buttons can work without you having to type in the name of your host each time. I think it should be a Web API; like the "UserSocials API" or something. Practical SVG is Now Free to Read Online Back in 2016 I wrote a book called Practical SVG. Recently, the publisher, A Book Apart, closed shop. Now you can Read Practical SVG on the web, here on this site, for free. I always like how Mat's book was online so now mine can join that cool club. I'll echo what I say on the site: Thanks to Jeff Eaton for… https://chriscoyier.net/2024/07/22/practical-svg-is-now-free-to-read-online/
Show previous comments
@chriscoyier thank you for sharing this resource! I noticed the chapter menu close button is not working in mobile Safari. Looks like it has focus when tapped, though. This chart about CSS' `content-visibility` is my favorite. Every year, less and less people have even heard of it. Kinda like me. https://2023.stateofcss.com/en-US/features/layout/#content_visibility @chriscoyier it sounded like a killer feature that would solve _so many_ problems but it was kinda a disappointment. (Related: https://front-end.social/@matuzo/110966762397576234) The CSS feature `@container style()` is pretty neat! Are you familiar with `@mixin` in Sass? It's a little bit like that. 1) Declare a chunk of CSS you want to re-use @chriscoyier gah honestly the way CSS is being written keeps turning upside down lately, I can't keep up! @chriscoyier thats interesting! Started with Sass (with WPCodebox an amazing wordpress code snippet plugin) and love it. Think I will stay at it, but lets see if @container style() is worth switching. Any benefits compared to Sass? Playing Wordle though the Firefox URL bar via *OpenSearch* is one hell of a trick. https://eieio.games/nonsense/implementing-wordle-in-the-firefox-address-bar/ @chriscoyier Thank you! I'm still a little bummed that it's Firefox-only, but that just means I've gotta find something else that's cross-browser :) |
@chriscoyier oh, tabs pride flag just dropped
@chriscoyier You get my vote!
And now I want to make a similar one about post-sentence spacing.
@chriscoyier Yes.