Email or username:

Password:

Forgot your password?
10 posts total
Chris Coyier

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.

Chris Coyier

You should see the IE 11 traffic on my website ie11fanclub.international

Zach Leatherman :11ty:

@chriscoyier (and even then support percentages are heavily influenced by survivorship bias)

Chris Coyier

It's wild to me that just using Google Fonts (the hosted-by-Google way) immediately makes you in violation of GDPR.

termageddon.com/google-fonts-v

You can always self-host though: gwfh.mranftl.com/fonts

Or it's a one-clicker on Cloudflare: developers.cloudflare.com/spee

Show previous comments
Bob 🇺🇲♒🐧🪖

@chriscoyier

I always take all outside links to any of those corporate spyware systems out when using someone else's code 🤬🤬🤬

Hazmeister

@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.

Chris Coyier

Good reminder: don't lazy load hero or product images.

cloudfour.com/thinks/stop-lazy

It hurts both your UX and your Largest Contentful Paint (LCP) score.

Chris Coyier

If your LCP is still bad, here's good information on finding out why: whitep4nth3r.com/blog/your-bad

It's one of those few-ish performance things that can easily be more back-end than front-end.

Rich Holman

@chriscoyier that is a great reminder. Sometimes it’s easy to fall down the optimse all the things route. Thanks!

Chris Coyier

Nice remembrance of ahead-of-it's-time Yahoo! Pipes.

retool.com/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.

David O'Brien

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.

@chriscoyier

Chris Coyier

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.

```
<meta property="fediverse:creator" content="@chriscoyier" />
```

(via @matthiasottmatthiasott.com/notes/highligh)

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.

Evert Pot

@chriscoyier @matthiasott so cool! Are there other features like this?

cc @jenc

Chris Coyier

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…

chriscoyier.net/2024/07/22/pra

Show previous comments
Robert Koons

@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.

Chris Coyier

Dang this blew up. I very expected nobody to care.

Chris Smith

@chriscoyier Bought this when it came out and loved it.

Chris Coyier

This chart about CSS' `content-visibility` is my favorite. Every year, less and less people have even heard of it. Kinda like me.

2023.stateofcss.com/en-US/feat

Manuel Matuzović

@chriscoyier it sounded like a killer feature that would solve _so many_ problems but it was kinda a disappointment. (Related: front-end.social/@matuzo/11096)

Chris Coyier

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
2) Set a --custom-property to trigger it

Sara Joy :happy_pepper:

@chriscoyier gah honestly the way CSS is being written keeps turning upside down lately, I can't keep up!

Philipp

@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?

eieio

@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 :)

Go Up