Skip to content

background-repeat

Utilities for controlling how background images tile across horizontal and vertical axes.

BackgroundsTailwind v4 Spec
ISS preview
Iced + ISS preview demonstrating background-repeat
ISS preview for background-repeat
use iced::widget::container;
use iss::{tw, TwExt};
let surface = container(body).tw(tw!("bg-no-repeat bg-center bg-cover"));
Tailwind Class CSS Property / Effect iss::typed Builder
bg-repeat background-repeat: repeat; .bg_repeat()
bg-no-repeat background-repeat: no-repeat; .bg_no_repeat()
bg-repeat-x / bg-repeat-y background-repeat: repeat-x / repeat-y; .bg_repeat_x() / .bg_repeat_y()
bg-repeat-round / bg-repeat-space background-repeat: round / space; .bg_repeat_round() / .bg_repeat_space()

background-size · background-position · mask-repeat