top | item 41968021

(no title)

rkharsan64 | 1 year ago

If you're talking about Tailwind, this is nothing like that. This is a set of pre-built components, not unlike Bootstrap. You just use the components they offer, instead of having to manually code up a drop-down from scratch for each new website you create.

discuss

order

nsonha|1 year ago

Everheard of copy/paste? Not unlike the way you copy/paste these css classes from the last project to the next.

Guess what? Taiwind has components too, but the built-in of course is never the exact thing people want, so they had to add utility classes. And when it doesn't cut, you go back to css anyway. A pointless effort only to add another thing you have to manage just for styling.

wruza|1 year ago

Personally I can never get line-space or line-height vs height/min-height/padding/font-size or whatever. That’s why I’m using e.g. bootstrap. If I just write css, my inputs receive 1px vertical scroll on some devices, but not all.

Make css model internally consistent, i.e. allocate inputs inside-out and not vice versa, plus another thousand microissues, then we’ll talk about raw css with only colorscheme imports. Until that, writing ad hoc half-framework is a waste of time.