{"id":196155,"date":"2015-02-17T15:03:25","date_gmt":"2015-02-17T22:03:25","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=196155"},"modified":"2021-05-20T10:31:46","modified_gmt":"2021-05-20T17:31:46","slug":"background-repeat","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/properties\/b\/background-repeat\/","title":{"rendered":"background-repeat"},"content":{"rendered":"\n

If a background-image<\/code> property is specified, the background-repeat<\/code> property in CSS defines if (and how) it will repeat. Here’s an example:<\/p>\n\n\n\n

html {\n  background-image: url(logo.png);\n  background-repeat: repeat-x; \n}<\/code><\/pre>\n\n\n\n

These are the possible values for this property (besides the usual stuff like inherit<\/code>):<\/p>\n\n\n\n