{"id":11975,"date":"2022-03-05T03:33:37","date_gmt":"2022-03-05T08:33:37","guid":{"rendered":"http:\/\/local.brightwhiz\/?post_type=snippets&p=11975"},"modified":"2022-03-05T04:04:28","modified_gmt":"2022-03-05T09:04:28","slug":"how-to-stop-a-background-image-from-repeating-in-css","status":"publish","type":"snippets","link":"http:\/\/local.brightwhiz\/snippets\/how-to-stop-a-background-image-from-repeating-in-css\/","title":{"rendered":"How to Stop a Background Image From Repeating in CSS"},"content":{"rendered":"\n
Example snippet for a non-repeating background image.<\/p>\n\n\n\n
.background {\n background-image: url('background-image.jpg');\n background-repeat: no-repeat;\n background-size: 100%;\n}<\/code><\/pre>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":[],"categories":[953,15],"tags":[954,170,303,471,638],"yoast_head":"\nHow to Stop a Background Image From Repeating in CSS<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n