Skip to content

font-style

Utilities for controlling whether text renders in italic or normal upright style.

ISS preview
Iced + ISS preview demonstrating font-style
ISS preview for font-style
use iced::widget::text;
use iss::{tw, TwExt};
let quote = text("Zero unsafe code.").tw(tw!("italic text-sm text-zinc-300"));
Tailwind Class CSS Property / Effect iss::typed Builder
italic font-style: italic; .italic()
not-italic font-style: normal; .not_italic()

font-weight · font-family · font-stretch