2 ms·
Well, obviously it works for them and they like it, I just don't understand why. I'll agree with having the styling information with the HTML. But there are lo
by winstonewert 5y ago
Well, obviously it works for them and they like it, I just don't understand why.
I'll agree with having the styling information with the HTML. But there are lots of ways of doing that such as svelte-style components, CSS-in-JS, or inline css. Tailwind really didn't seem to have useful design guidelines to me. Since the classes seem to mostly correspond 1:1 with css properties, I didn't seem to be saving writing styling information. The media queries are something you can't do in inline css, but you can do it with css-in-js or svelte components.