Comment

Comment by koito17

I've understood the point of Tailwind to be two things:

1. Allow styling to co-exist with your DOM layout rather than separate files

2. Provide a ready-to-use style system built atop utility classes

Emphasis on "utility classes". This is what makes Tailwind different from e.g. Bootstrap.

I don't think the point is to avoid writing CSS. The point is to write CSS in a way that allows it to be co-located with DOM layout, so that UI components can become self-contained pieces of code.

parent koito17 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton