Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

That’s just CSS variables, you don’t need Tailwind for that.


sort by: page size:

That's just a CSS variable. You don't need Tailwind for that.

You can easily do so without Tailwind as well, with CSS variables. What's the difference you're hinting about?

You don't need tailwind for that? that's how css works.

You're reading it wrong. Tailwind is pure css.

Tailwind is just css classes. It was never meant to abstract anything.

yeah i'm only able to use tailwind because i know the fundamentals of CSS

Tailwind CSS?

If you know CSS why are you using Tailwind which is esoteric CSS but worse? Just use CSS.

Couldn't you just write a normal CSS class though, instead of going through the rigmarole of Tailwind?

Tailwind is CSS. You are writing CSS, just in a slightly different way. It's not a magical framework or a big box of ready-mades.

Exactly. Definitely wouldn't use tailwind without a firm css understanding first.

This is great! I had the same thought that tailwind could be css variables and avoid all of the tooling.

The CSS is tailwind

In that secenario why even use tailwind? Why not just normal css?

If you use tailwind, you're rarely, if ever, coding CSS. you live in HTML world exclusively.

Vanilla CSS also allows this, without any real effort either. Tailwind's power is in its defaults, as soon as you want to start tinkering, you were much better suited sticking to vanilla CSS.

I know CSS and have to look always into the Tailwind documentation to find the corresponding settings. As long as you use tailwind 0815 settings everything is ok, but not easier as css (if you know css).

Tailwind CSS

I hope you're right, and it's always easy to automatically replace Tailwind with vanilla CSS, but I'm not so sure anymore
next

Legal | privacy