π See live on matcha.mizu.sh !
matcha.css is a pure CSS library designed to style HTML elements similarly to a default browser stylesheet, eliminating the need for users to manually patch their documents.
Ideal for fast prototyping, static HTML pages, Markdown-generated documents, and developers seeking to streamline their workflow without delving into CSS intricacies and want to make use of the full range of available HTML elements.
- β No build steps
- β No dependencies
- β No JavaScript
- β No configuration needed
- β No refactoring required
- β
~6kB
gzipped (can be further reduced)




Works seamlessly with any document and covers a broader range of HTML elements compared to similar libraries. It remains unobtrusive by leveraging CSS pseudo-elements and offers extensive browser support.
Simply include its <link rel="stylesheet">
to get started, and remove it whenever necessary without the need for document refactoring or cleanup.
Adapts styling based on elements hierarchy, providing intuitive behaviors such as "implicit submenus" when nesting <menu>
elements, required field indicator (*
) when a <label>
is paired with
<input required>
, etc.
Brew your own build using our custom builder to select specific features and reduce the final build size according to your project's needs.
Released under the MIT License, freely available at github.com/lowlighter/matcha.
To utilize matcha.css, just include the following line in the <head>
section of your document. It's that simple!
<link rel="stylesheet" href="https://matcha.mizu.sh/matcha.css">
MIT License
Copyright (c) 2024-present Simon Lecoq (lowlighter)