4 ms·
I think where a lot of people get hung up on tailwind is they where taught Separation of Concerns. Where are tailwind takes the approach of Locality of Behaviou
by aleksiy123 3y ago
I think where a lot of people get hung up on tailwind is they where taught Separation of Concerns. Where are tailwind takes the approach of Locality of Behaviour.
https://htmx.org/essays/locality-of-behaviour/ https://htmx.org/essays/locality-of-behaviour/
A nice essay on this by the creator of htmx.
- imbnwa 3y agoSo basically the web went astray with @media, otherwise we would've had presentation attributes? This is sorta underlines how XHTML would've been so valuable for namespacing layers of behavior like this from one another, satisfying the desire to scope the web authoring experience: namespace for attributes for declarative behavior, a la htmx; CSS where we don't expect to print the page; we already have this for math formulations, SVG; etc