background-image
Utilities for controlling Tailwind CSS v4 linear, radial, and conic gradients, color stops, and interpolation spaces.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let banner = container(body).tw(tw!( "p-6 rounded-2xl bg-linear-to-r from-blue-600 via-sky-500 to-cyan-400"));use iss::typed::*;
let style = IssStyle::new() .p(6) .rounded_2xl() .bg_linear_to_r() .from_color(palette::BLUE_600) .via_color(palette::SKY_500) .to_color(palette::CYAN_400);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
bg-none |
background-image: none; |
.bg_none() |
bg-linear-to-r / to-br / bg-linear-45 |
Linear gradient direction or angle; |
.bg_linear_to_r() / .bg_linear_deg(45.0) |
bg-radial / bg-radial-[at_25%_25%] |
Radial gradient fill; |
.bg_radial() |
bg-conic / bg-conic-180 |
Conic gradient fill; |
.bg_conic() / .bg_conic_deg(180.0) |
from-* / via-* / to-* |
Gradient color stops and positions; |
.from_color(palette::BLUE_600).to_color(palette::CYAN_400) |
bg-linear-to-r/oklch / /increasing |
Tailwind v4 interpolation modes; |
.bg_interp(GradientInterp::Oklch) |