transform-origin
Utilities for setting the pivot point around which rotations, scales, and skews occur.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let menu = container(items).tw(tw!("origin-top-right scale-95 hover:scale-100 rounded-xl"));use iss::typed::*;
let style = IssStyle::new().origin_top_right().scale(95);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
origin-center |
transform-origin: center; |
.origin_center() |
origin-top / right / bottom / left |
Edge transform origins; |
.origin_top() / .origin_left() |
origin-top-left .. origin-bottom-right |
Corner transform origins; |
.origin_top_left() |
origin-[25%_75%] |
Arbitrary transform origin; |
.origin(BgCoord::Pct(25.0), BgCoord::Pct(75.0)) |