Fitty

Snugly resizes text to fit its parent container.

~ 1 kcal, ehh, kB gzipped

Examples

The examples below can edited live and will auto update.

The wizard quickly jinxed the gnomes before they vaporized.

Wizard

Click button below to load a custom font to the fitties above.

The fields above use contenteditable, this is useful for demo purposes but also a bit buggy, in production I would expect Fitty to be mostly used on headers and taglines.