# mdo/code-guide

Standards for developing consistent, flexible, and sustainable HTML and CSS.

Repository: https://github.com/mdo/code-guide
Canonical: https://ross.abutalabs.com/products/code-guide
Homepage: https://codeguide.co
Language: SCSS
License: MIT
License Family: permissive
Last push: 2024-07-26T02:51:35+00:00

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

## Adoption (not part of the score)
Stars 8462, forks 1106 (observed 2026-08-28T04:10:21.305559+00:00)

## What it is
Code Guide is a well-known HTML and CSS style guide by Mark Otto (@mdo), published as a static site built with Jekyll. It codifies standards for writing consistent, flexible, and sustainable markup and stylesheets.

## Use cases
- establish html and css coding standards for a team
- learn best practices for writing maintainable css
- define style guide for frontend code reviews
- find recommended css declaration order and class naming conventions
- onboard new developers to consistent html syntax rules

## When to choose
- you need a battle-tested, widely referenced HTML/CSS style guide to adopt or adapt
- you want a concise reference for syntax, attribute ordering, and CSS organization conventions
- you're setting up frontend code review standards

## When to avoid
- you need automated linting or enforcement rather than written guidelines
- you need style guides for JavaScript or other languages
- you want a configurable tool rather than a static document

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation, linter
- domain: web-development, frontend, documentation
- platform: browser
- tags: html, css, style-guide, coding-standards, jekyll, scss, web-server

## Member repositories
- mdo/code-guide (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:21.305559+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-29T17:27:12.213050+00:00, confidence not recorded.
  - readme: https://github.com/mdo/code-guide (fetched 2026-08-28T04:10:21.305559+00:00, sha b16580f56f07)
  - homepage: https://codeguide.co (fetched 2026-08-29T08:26:58.164303+00:00, sha bff20f9549cf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
