PigPog: 'Moving to Tailwind'

But I do want to make things easier on myself, and Tailwind sounded like a good way to do that. I haven't really done much HTML since CSS came along, to be honest, and a lot about CSS has never really felt right to me. Tailwind seems to answer some of the problems I had with it. And it integrates really well with Astro. So I installed it, and set about converting just the footer into Tailwind.

It went well. The footer was a good starting point - not much to do, really, but enough to see how things work. It had a block of styles at the bottom of the .astro file, applying various styles. I just looked up what each one was in Tailwind, and added them to the relevant elements. Tweaked a few colours as I went, to make it look a little closer to what I want, and I was good to go.

There's plenty more to do, but it does feel like it makes styling things a lot easier, so I'm happy so far.


Recent posts