Skip to content

backface-visibility

Utilities for hiding or showing the reverse face of a 3D-rotated element during perspective projection.

ISS preview
Iced + ISS preview demonstrating backface-visibility
ISS preview for backface-visibility
use iced::widget::container;
use iss::{tw, TwExt};
let face = container(front).tw(tw!("rotate-y-180 backface-hidden rounded-xl p-4"));
Tailwind Class CSS Property / Effect iss::typed Builder
backface-visible backface-visibility: visible; .backface_visible()
backface-hidden backface-visibility: hidden; .backface_hidden()

perspective · transform-style · rotate