background-attachment
Utilities for controlling how a background image or gradient scrolls relative to the viewport or element.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let hero = container(body).tw(tw!("bg-fixed bg-linear-to-b from-slate-900 to-zinc-950 p-6"));use iss::typed::*;
let style = IssStyle::new().bg_fixed().bg_linear_to_b().from_color(palette::SLATE_900).to_color(palette::ZINC_950);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
bg-fixed |
background-attachment: fixed; |
.bg_fixed() |
bg-local |
background-attachment: local; |
.bg_local() |
bg-scroll |
background-attachment: scroll; |
.bg_scroll() |