Skip to content

zoom

Utilities for Tailwind CSS v4.3 layout-affecting zoom scaling with crisp vector rendering.

ISS preview
Iced + ISS preview demonstrating zoom
ISS preview for zoom
use iced::widget::container;
use iss::{tw, TwExt};
let preview = container(card).tw(tw!("zoom-125 bg-zinc-900 rounded-xl p-4"));
Tailwind Class CSS Property / Effect iss::typed Builder
zoom-normal zoom: normal; .zoom_normal()
zoom-50 / 75 / 90 / 100 / 110 / 125 / 150 zoom: 50% .. 150%; .zoom(125)
zoom-[1.2] zoom: 1.2; .zoom_factor(1.2)
  • Unlike scale-*, zoom-* scales both layout dimensions and vector rendering.

scale · transform