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. SVG is crazy. Here's an SVG in a GitHub readme, animated with CSS: https://github.com/sindresorhus/css-in-readme-like-wat
  3. 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.
  4. …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
  5. 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