boymoder11 — 11/4/2025, 6:25:05 AM

tailwind stinky

↩ repost
mybearworld — 5/16/2023, 5:02:58 PM

Edit: yeah no this is wrong, tailwind is awesome

Tailwind has this problem that for some reason nobody ever mentions in these “Tailwind is amazing you should use it now!!” videos - very basic repetition. Not cards or something where you can just put it into a component, but just simple things. Say you want your links to be italic and colored cyan, but when hovered, make them a darker shade of cyan, and add an underline. That would be something like:

<a class="text-cyan-600 italic hover:text-cyan-500 underline" href="path/to/link.html">Link</a> 

Sure, fine. You have a lot of links in your application, though, and therefore have 200 links across the whole thing. Now, you want to change the cyan to green. What do you do?

♥ 4 ↩ 1 💬 7 comments
♥ 1 ↩ 0 💬 1 comment

comments

mybearworld:
<div class="inline-block animate-bounce bg-linear-90 from-green-500 to-yellow-600 bg-clip-text text-9xl text-transparent transition-transform duration-1000 hover:rotate-[360deg] hover:from-red-800 hover:to-fuchsia-800 hover:font-serif">
  no
</div>
11/4/2025, 7:02:38 AM