CSS background-repeat Property Reference

The CSS background-repeat property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

CSS background-repeat Property Reference

The CSS background-repeat property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

background-repeat overview

The CSS background-repeat property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

background-repeat formal syntax
FieldValue
Formal syntax<repeat-style>#
Initial valuerepeat
Applies toallElements
InheritedNo
Percentagesno
Computed valuelistEachItemHasTwoKeywordsOnePerDimension
Animation typediscrete
Mediavisual
Specification groupCSS Backgrounds and Borders
StatusStandard

Practical examples

These declarations demonstrate valid ways to set background-repeat. The initial and inherit global keywords remain available even when a property-specific value is preferable.

background-repeat live example
CSS .reset-example { background-repeat: initial; } .inherit-example { background-repeat: inherit; } @supports (background-repeat: initial) { .supported { background-repeat: initial; } }

Description

The CSS background-repeat property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: background-repeat
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies