LLMs are actually perfect for this (at least in simple scenarios). Using tailwindcss also helps them work at a higher level of abstraction, and localize styles to the markup, meaning the LLM doesn't have to compare multiple files to get it right.

Reply to this note

Please Login to reply.

Discussion

i've been trying to use an LLM this afternoon since i failed manually all morning and im not having any luck. #notadev

Well it took me hours but the LLM would have never known it was a text wrapping issue because of long strings of text for tagging npubs 🤓

This.

Only thing it does worse than CSS is regex. I've had to give up and fall back to regex editors because it didn't want to escape parenthesis and stuff.

Text wrapping in css is impossible to get right anyhow

I did some simple CSS with Claude on Duck Duck Go's AI chat. I think it went well.