Htmx Tailwind Alternative: Inline Scoped CSS
github.com
github.com
Write <style> inline and automatically have it scoped to that element. No more writing individual class/id's.
Been really wanting to transition back to plain CSS for everything moving forward. I miss the ultra-fast "inspect, play with styles, copy/paste into project" workflow that this re-enables.
BTW: Totally unheard of CSS feature you get for free: Scoped inline @keyframes for looped animations!
[1]: https://developer.mozilla.org/en-US/docs/Web/API/Web_compone...
[2]: https://developer.chrome.com/articles/declarative-shadow-dom... | https://caniuse.com/declarative-shadow-dom