Hacker GitHub

← All repos

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

Mentions per year 8 mentions · busiest year 2023 (4)
20082026
  1. 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
  2. …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
  3. 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
  4. 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.
  5. 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
  6. ▲ 28
    Show HN: Vanilla CSS Tailwind alternative in 16 lines
    story by geenat · 2023-10-04 · 7 comments
  7. ▲ 26
    Show HN: Vanilla CSS Tailwind alternative in 18 lines
    story by geenat · 2023-09-30 · 14 comments
  8. ▲ 11
    Htmx Tailwind Alternative: Inline Scoped CSS
    story by geenat · 2023-09-08 · 3 comments