News for hackers. Stuff that matters.
Re:Why Tailwind CSS Won by nannal on Wednesday August 16, 2023 @05:44AM (#37144748)
ctrl+h

Suppose we want to change just one link? Would it be better to make a new class with all the same attributes except the color and apply that to the specific link.

Re:Why Tailwind CSS Won by xigoi on Wednesday August 16, 2023 @05:53AM (#37144812)
> ctrl+h

Brittle.

> Suppose we want to change just one link? Would it be better to make a new class with all the same attributes except the color and apply that to the specific link.

Why copy the attributes? Just override the one you want to change. You can even use style="…" if you're sure that it's just one link.