# sindresorhus/css-in-readme-like-wat

Style your readme using CSS with this simple trick

Repository: https://github.com/sindresorhus/css-in-readme-like-wat
Canonical: https://ross.abutalabs.com/products/css-in-readme-like-wat
License Family: other
Last push: 2024-09-22T18:27:18+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2234, "days_push": 710, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5154, forks 1756 (observed 2026-08-28T04:09:11.434659+00:00)

## What it is
A demonstration repository showing how to style GitHub README files using CSS embedded in SVG images. It serves as a visual example and explanation of a trick for adding custom styles to markdown documentation on GitHub.

## Use cases
- style my github readme with custom css
- make readme headers animated or styled
- learn how css works inside github markdown
- customize readme appearance beyond markdown
- embed styled svg in a github readme

## When to choose
- you want custom visual styling in a GitHub README
- you want to learn the SVG-in-markdown CSS trick
- you need an example to copy for styled readme headers

## When to avoid
- you need a general CSS framework for a website
- you target platforms that sanitize SVG styles other than GitHub
- you want a maintained library with an API rather than a demo

## Facets
- artifact type: learning-resource
- maturity: stable
- function: css-framework, markdown, documentation
- domain: documentation, web-development, developer-tools
- platform: browser
- tags: github-readme, css-trick, svg-styling, readme-customization, demo, web-server

## Member repositories
- sindresorhus/css-in-readme-like-wat (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:11.434659+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:01:55.818086+00:00, confidence not recorded.
  - readme: https://github.com/sindresorhus/css-in-readme-like-wat (fetched 2026-08-28T04:09:11.434659+00:00, sha 1ec5e6f12190)
- Data as of 2026-08-30T08:39:29.467469+00:00.
