Hacker News new | ask | show | jobs
by nsonha 601 days 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.

1 comments

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.