A worked example
Download CSS, apply .type-recipe to a content container, and review it in your own design.
Export scoped typography CSS and a validated JSON recipe for reuse.
Try a sample on your device’s installed fonts. Settings remain in this page only; export a JSON recipe before switching tools. No remote font requests.
/* Letterkind · root reference: 16px. No root override or remote fonts. */
.type-recipe {
font-family: "Avenir Next", "Segoe UI", "PingFang SC", sans-serif;
font-size: 18px;
line-height: 1.6;
letter-spacing: 0em;
max-width: 60ch;
font-weight: 400;
overflow-wrap: anywhere;
}
.type-recipe p { margin-block: 0 1em; }
.type-recipe h1 { font-size: 48.82813px; font-size: 3.05176rem; line-height: 1.2; margin-block: 1.4em .5em; }
.type-recipe h2 { font-size: 39.0625px; font-size: 2.44141rem; line-height: 1.2; margin-block: 1.4em .5em; }
.type-recipe h3 { font-size: 31.25px; font-size: 1.95313rem; line-height: 1.2; margin-block: 1.4em .5em; }
.type-recipe h4 { font-size: 25px; font-size: 1.5625rem; line-height: 1.2; margin-block: 1.4em .5em; }
.type-recipe h5 { font-size: 20px; font-size: 1.25rem; line-height: 1.2; margin-block: 1.4em .5em; }
A little space changes everything. Good typography helps ideas find their rhythm. Try your own headline, paragraph or a few words in another language. 留一点空间,让文字更好读。
Font rendering depends on what is installed. ch is not an exact character count; exported rem headings assume your chosen root reference. Preview in the actual page before use.
The recipe combines an allowlisted font stack, scale and spacing settings under a fixed .type-recipe class.
Download CSS, apply .type-recipe to a content container, and review it in your own design.
CSS contains no font downloads or site-wide reset. Recipe settings stay in page memory unless exported.
No. Processing runs locally in your browser. The host still receives normal requests for website pages and assets.
Use the download controls for the current tool or print from your browser. Seating plans, flashcards and document drafts autosave in this browser; see the privacy page.
No sign-up, paid API or subscription is required. Both languages use the same tools. English always opens at the root address.
Compare the same sample across safe system-font stacks without requesting remote fonts.
Open toolGenerate heading sizes from a base size and ratio, and preview a page hierarchy.
Open toolAdjust font size, line height, letter spacing and text-column width with a live sample.
Open tool