← Back to context

Comment by llmslave2

2 days ago

The point being you can't do this with inline styles: "bg-purple md:bg-blue"

Yes but you should not use inline style for that (nor Tailwind).

  • w-full md:max-w-[100px] bg-purple dark:bg-red hover:underline

    Good luck writing that as inline style.

  • The whole point of Tailwind is that it lets you do that. You can debate if Tailwind itself is a good idea but thats not relevant to comparing it to inline styles.