|
|
|
|
|
by abathur
1073 days ago
|
|
The discomfort is because html and css were misabstracted. They were designed for the old world of documents, where the idea of restyling a bunch of documents for a new letterhead (etc.) makes a lot of sense. They've been adapted for the world of interface design, but the separation of concerns doesn't make sense in that axis. It makes sense for the content of a document to be separate from it's style. It doesn't make as much sense to separate the structure of an interface from it's style. (In practice they are almost always tightly coupled.) Tailwind is flattening these back down into roughly one layer from the author's perspective, where they make sense for the design work. (I wrote a bit more about this perspective in https://t-ravis.com/post/doc/what_color_is_your_markup/) |
|