gnat/css-scope-inline
View on GitHub ↗ ★ 695 HTML
🌘 Scope your inline style tags in pure vanilla CSS! Only 16 lines. No build. No dependencies.
8 mentions on Hacker News by 4 people: 3 stories, 5 comments · first 2023-09-08 · latest 2025-01-23
20082026
-
Locality of behavior can be done with few lines of js. https://github.com/gnat/css-scope-inline
comment by kaeshiwaza · 2025-01-23 · in Tailwind CSS v4.0 -
…for me to feel torn about ideals vs actual pragmatism. [1]: https://github.com/gnat/surreal [2]: https://github.com/gnat/css-scope-inline [3]: https://github.com/leafo/lapis [4]: https://gittup.org/tup
comment by pull_my_finger · 2024-12-21 · in How do you do, fellow web developers? A growing disconnect -
May also be interesting to people here: https://github.com/gnat/css-scope-inline 16 lines for short vanilla syntax, scoped animations, and shorthand media queries like Tailwind.
comment by geenat · 2024-10-14 · in Inline Scope for CSS -
May i recommend - https://github.com/gnat/css-scope-inline I am using it in a project and it has been working quite well. And i think it would work along with the Nue design system as well.
comment by formo · 2024-03-21 · in Nue CSS: A Scaleable Alternative to Tailwind, BEM, and CSS-in-JS -
Good options for zero build: * Self host tailwind v3 CDN. * https://github.com/gnat/css-scope-inline Both are surprisingly fast- parse 10,000+ <style> or class="..." in under a second.
comment by geenat · 2023-11-13 · in HTML First -
▲ 28
Show HN: Vanilla CSS Tailwind alternative in 16 linesstory by geenat · 2023-10-04 · 7 comments
-
▲ 26
Show HN: Vanilla CSS Tailwind alternative in 18 linesstory by geenat · 2023-09-30 · 14 comments
-
▲ 11
Htmx Tailwind Alternative: Inline Scoped CSSstory by geenat · 2023-09-08 · 3 comments