new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Tailwind CSS v4 · all subjects

utilities/line-height

9 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

line-height combined with font-size syntax

Line-height can be set in combination with font-size using the syntax text-<size>/<number>, where the font-size is set to <size> and line-height is calculated as calc(var(--spacing) * <number>). For example, text-sm/6 sets the font size to small and line height to 6 spacing units.

text-<size>/ with custom property for line-height

Line-height can be set together with font-size using a custom property with the syntax text-<size>/(<custom-property>), which applies font-size: <size> and line-height: var(<custom-property>).

text-<size>/ with arbitrary line-height

Line-height can be set together with font-size using arbitrary values with the syntax text-<size>/[<value>], which applies font-size: <size> and line-height: <value>.

leading-none utility

The leading-none utility sets line-height: 1, making the line height equal to the font size.

leading-<number> utility

The leading-<number> utility sets line-height using calc(var(--spacing) * <number>), allowing line height to be set independently from font size. Examples include leading-6, leading-7, and leading-8.

leading-<custom-property> utility

Line-height can be set using a custom property with the syntax leading-(<custom-property>), which applies line-height: var(<custom-property>).

leading-[<value>] arbitrary value syntax

Line-height can be set using arbitrary values with the syntax leading-[<value>], which applies line-height: <value>.

Default line height with font-size utilities

Each font size utility also sets a default line height when one is not explicitly provided. These defaults and customization options are documented in the font-size documentation.

line-height is part of spacing scale customization

Line-height utilities use the spacing scale for their numeric values and can be customized through the same spacing scale configuration as other spacing utilities.

Give your agent this brain