Jason Knight
2 min readMay 19, 2022

--

Excellent example of what utter incompetent traah failwind is. It's bad enough slopping presentational classes all over the markup making it harder to follow, harder to understqand, harder to maintain, repeating yourself over and over again on each and every blasted element.... without also pissing on caching models. And for what? "wah wah, eye can't keep track of using a fraction the code in a separate file?"

Don't even get me started about your lack of SCOPE or TH inside TBODY.

Which of course is why you need failwinds blaoted library to use 1.4k of markup to do half a k of markup and half a k of CSS' job. But sure, tell me how much "easier" writing more code that's ugly, complex, fragile, and violates the most basic principles of using HTML or CSS is.

As to the overflowing parent menthod, sideways scrolling and hiding data is bad usability, and really sad for what a simple media query could fix using flex and flex-wrap for less than 200 bytes of code. More than made up for by ditching the "div for nothing" around said table.

https://codepen.io/jason-knight/pen/ExQmLpQ

That is why I say that the only thing you can learn from failwind is how NOT to use HTML or CSS, and that the people who created systems like it and bootcrap are unqualified to write a single line of HTML, much less have the unmitigated gall to tell others how to do so!

Tailwind is not easer, or "better for collaboration", or "less work", it sure as shine-ola doesn't make you "prototype faster" unless you're blindly copying their broken inaccessible gibberish code that will get you in trouble in the long run. Why people believe any of those lies about it is utterly beyond my comprehension.

It's at best a scam, at worst a balm for ignorance and a salve for stupidity.

And thus why that product page you linked to is a bloated inaccessible wreck that's three times or more the markup needed to do the job whilst flipping the bird at usability and accessibility. And that's before we talk the endless pointless DIV and SPAN for nothing on what is quite clearly tabular data.

--

--

Jason Knight
Jason Knight

Written by Jason Knight

Accessibility and Efficiency Consultant, Web Developer, Musician, and just general pain in the arse

No responses yet