Tailwind Tricks

Wednesday, November 17, 2021
Tag: technical
A clothespin stuck to a tree branch with a pink feather attached to it.

I’m currently in the process of building an all-new, all-different Cassette Nest. Part of that is using Tailwind, which is amazing and you should use it.

I wanted to share a couple of things I figured out yesterday. The first is a light/dark theme picker with the option to use the OS-level preference. It’s only Tailwind related in that it uses its class darkMode technique.

The second is an explanation of how to use @responsive in Tailwind. The documentation was inscrutable to me, so I figured I’d write up an explanation that makes sense to me. It’s pretty cool, and not as complex as it seemed.