News for hackers. Stuff that matters.
Re:Why I Love Tailwind by lenkite on Monday December 07, 2020 @12:11PM (#25334147)
Frameworks like Tailwind CSS will go the way of the dodo, once CSS gets proper scoping, isolation and inheritance. (No JS needed). Then you can truly have semantic HTML with presentational stuff separated cleanly without needing any toolchain or 1k+ deps library to do this.
Re:Why I Love Tailwind by boromi on Monday December 07, 2020 @12:18PM (#25334252)
Ok that sounds fantastic, how long should we wait until that's the case and is adopted by all browsers and is backward compatible? That's the issue here.
Re:Why I Love Tailwind by lenkite on Monday December 07, 2020 @12:46PM (#25334658)
Ballpark guess - less than 5 years. There is the work ongoing on CSS and HTM modules at:

https://github.com/WICG/webcomponents/blob/gh-pages/proposal...

https://github.com/WICG/webcomponents/blob/gh-pages/proposal...

Re:Why I Love Tailwind by sbergot on Monday December 07, 2020 @12:53PM (#25334766)
Scoping is one part of the problem. Complex selector is another one. Design consistency is yet another one.

Tailwindcss is solving those 3 issues.

Re:Why I Love Tailwind by idoh on Monday December 07, 2020 @12:13PM (#25334175)
When is that going to happen?