Skip to content

font-stretch

Utilities for selecting condensed or expanded width faces of a font family.

ISS preview
Iced + ISS preview demonstrating font-stretch
ISS preview for font-stretch
use iced::widget::text;
use iss::{tw, TwExt};
let compact = text("COMPACT HEADER").tw(tw!("font-stretch-condensed text-sm font-bold"));
Tailwind Class CSS Property / Effect iss::typed Builder
font-stretch-ultra-condensed .. semi-condensed font-stretch: 50% .. 87.5%; .font_stretch_condensed()
font-stretch-normal font-stretch: 100%; .font_stretch_normal()
font-stretch-semi-expanded .. ultra-expanded font-stretch: 112.5% .. 200%; .font_stretch_expanded()
font-stretch-75% / font-stretch-[125%] Percentage font-stretch; .font_stretch_pct(125)

font-weight · font-family · letter-spacing