Backgrounds

background-repeat to Tailwind

Maps to the bg-repeat* family, including the per-axis and space / round forms.

The 6 mappings below are read straight out of Tailwind v4.3.3, not maintained by hand, so this is what the converter will actually produce for background-repeat.

background-repeat values and their classes

CSSTailwind
background-repeat: no-repeat;bg-no-repeat
background-repeat: repeat;bg-repeat
background-repeat: repeat-x;bg-repeat-x
background-repeat: repeat-y;bg-repeat-y
background-repeat: round;bg-repeat-round
background-repeat: space;bg-repeat-space

Other backgrounds properties

Converting a whole stylesheet?

Paste it into the converter and get every rule at once, shorthands expanded, media queries turned into breakpoint variants, and the parts that have no Tailwind equivalent flagged rather than dropped.

Open the converter