Honor prefers-color-scheme in the CSS Paint API with Custom Properties

One of the coolest things I’ve been messing with in the last couple years is the CSS Paint API. I love it. I did a talk on it, and made a little gallery of my own paint worklets… https://css-tricks.com/honor-prefers-color-scheme-in-the-css-paint-api-with-custom-properties/

3y | CSS tricks
Strut Your Stuff With a Custom Scrollbar

The first time I had my breath taken away by a humble scrollbar was on this very site. When CSS-Tricks v17 rolled out with its FAT CHONKY BOI, my jaw dropped.

I didn’t know you could do that on … https://css-tricks.com/strut-your-stuff-with-a-custom-scrollbar/

3y | CSS tricks
Care for the Text

How do you make a great website? Everyone has an answer at the ready: Flashy animations! The latest punk-rock CSS trick! Gradients! Illustrations! Colors to pack a punch! Vite! And, sure, all these things might make a website better. But … https://css-tricks.com/care-for-the-text/

3y | CSS tricks
Remember You Are Not the User

One thing people can do to make their websites better is to remember that you are not representative of all your users. Our life experiences and how we interact with the web are not indicative of how everyone interacts with … https://css-tricks.com/remember-you-are-not-the-user/

3y | CSS tricks
2021 Roundup of Web Research

Last year, we kicked out a roundup of published surveys, research, and other findings from around the web. There were some nice nuggets in there, like a general sentiment that the web needs more documentation, Tailwind CSS dun … https://css-tricks.com/2021-roundup-of-web-research/

3y | CSS tricks
Show, Don’t Tell

How much time do you spend designing the content presentation for your websites? When you write a new blog post or create a new page, are you thinking about just the words, or how your readers will engage with those … https://css-tricks.com/show-dont-tell/

3y | CSS tricks
Personalize it!

Ensuring accessibility is a clear path to making your website better. When you make your site accessible, you grow your audience, improve the experience for all people using it (not just those with accessibility needs), and you get SEO benefits… https://css-tricks.com/personalize-it/

3y | CSS tricks
Increase Your Reach

NGL, I was a little overwhelmed when I sat down to write this article. There are so many things that immediately flooded my mind—take out any extra divs; use links for URLs, use buttons for events and actions; use … https://css-tricks.com/increase-your-reach/

3y | CSS tricks
Why Ember?

There was a time when I’d write React, Angular, and Ember as a kind of generic grouping of three major JavaScript frameworks. And maybe just because three is a nice number, that became React, Vue, and Angular over time, thanks … https://css-tricks.com/why-ember/

3y | CSS tricks
Be Prepared for Failure and Handle it Gracefully

When I was working at my first “real” job in the field in the mid-2000s, it was hammered in the web dev field to build tiny websites (no more than 100KB per page), only use JavaScript for special effects, and … https://css-tricks.com/be-prepared-for-failure-and-handle-it-gracefully/

3y | CSS tricks

Ricerca