Hacker GitHub

← All repos

sindresorhus/css-in-readme-like-wat

View on GitHub ↗ ★ 5,157

Style your readme using CSS with this simple trick

9 mentions on Hacker News by 9 people: 4 stories, 5 comments · first 2020-07-21 · latest 2026-03-30

Mentions per year 9 mentions · busiest year 2020 (5)
20082026
  1. Last I checked on this the workaround is embedding CSS inside an SVG, here's a demo: https://github.com/sindresorhus/css-in-readme-like-wat I used this on a personal project to add a README logo that is dark mode friendly:…
  2. ▲ 3
    CSS-in-readme-like-wat: Style your readme using CSS with this simple trick
    story by thunderbong · 2023-03-31 · 1 comment
  3. SVG is crazy. Here's an SVG in a GitHub readme, animated with CSS: https://github.com/sindresorhus/css-in-readme-like-wat
  4. Yep Here’s an example of SVG animation https://github.com/sindresorhus/css-in-readme-like-wat Also see https://badgen.net which is another alternative to the original post.
  5. …but you would not get any fund from those users who already use Links2 or Lynx ![0] ;P $ links2 -g https://github.com/sindresorhus/css-in-readme-like-wat Only those users who use "modern browsers" or at least Netsurf / Hv3 / Dillo / Browsh…
    comment by app4soft · 2020-12-09 · in CSS in GitHub Readmes
  6. Do you mean this: https://github.com/sindresorhus/css-in-readme-like-wat/blame... ?
    comment by programbreeding · 2020-12-08 · in CSS in GitHub Readmes
  7. ▲ 544
    CSS in GitHub Readmes
    story by MH15 · 2020-12-08 · 193 comments
  8. ▲ 2
    Add CSS to GitHub README files
    story by DaniAkash · 2020-07-27 · 0 comments
  9. ▲ 2
    Style your GitHub readme with CSS
    story by mofle · 2020-07-21 · 0 comments