outline-offset
Utilities for controlling the gap between an element’s border edge and its outline.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let focus_card = container(body).tw(tw!("p-4 rounded-xl outline-2 outline-sky-400 outline-offset-4"));use iss::typed::*;
let style = IssStyle::new().outline_2().outline_color(palette::SKY_400).outline_offset_4();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
outline-offset-0 / 1 / 2 / 4 / 8 |
outline-offset: 0px .. 8px; |
.outline_offset_2() |
-outline-offset-2 |
Negative inset outline offset; |
.outline_offset(-2) |
outline-offset-[3px] |
outline-offset: 3px; |
.outline_offset_px(3) |