dotmatrix.css demo

Semantic HTML. Zero classes. Retro pixel interface with rich textures.

v0.2.0 · ~5KB gzipped · 10 textures · no JavaScript

Textures — opt-in via [data-texture]

Eight patterns baked into the framework. Apply any of them to any element with a single attribute. No new classes, no extra CSS.

paper
newsprint grain
data-texture="paper"
dots
graph paper
data-texture="dots"
stripes
45° hatched
data-texture="stripes"
hatch
cross-weave
data-texture="hatch"
halftone
newsprint photo
data-texture="halftone"
noise
xerox / photocopy
data-texture="noise"
carbon
gradient + grain
data-texture="carbon"
phosphor
CRT RGB dots
data-texture="phosphor"

Bevel — pressed/raised 3D look

Use data-bevel="in" for sunken (input fields) or data-bevel="out" for raised (buttons, panels). Works alongside borders and textures.

Raised panel

data-bevel="out" — looks like it's sticking out toward you. Great for cards and callouts.

Sunken panel

data-bevel="in" — looks pressed in. Perfect for input areas, terminal windows, wells.

> system.status
[OK] all services running

Typography

Headings

Regular paragraph with bold, italic, and highlight. Links look like this.

"The best interface is no interface."

— Golden Krishna

Code

Inline var(--dm-accent) renders with the accent color.

// Boot sequence
function init() {
  console.log('[OK] System ready');
  console.log('[OK] dotmatrix.css loaded');
}

Forms — semantic, accessible

Contact Info
Preferences

Components

Details / Accordion

What is dotmatrix.css?

A classless CSS framework that turns semantic HTML into a retro pixel-art interface.

Why "classless"?

Because class="btn btn-primary" on every button is silly.

Progress & Meter

70% 60%

Status badges

CONFIRMED RUMORED EVENT

Tables — striped, dense

CSS framework comparison
Framework Style Classless Size Textures
dotmatrix.cssPixel/8-bitYes7KB8
NES.css8-bitNo23KB0
Pico CSSModernYes10KB0
Water.cssMinimalYes2KB0