CodeLab
Tutorials For Everyone
Run
<!Doctype HTML> <html> <head> <title>Background Repeat</title> <style> body{ background-image: url("https://www.tutsinsider.com/wp-content/uploads/2019/09/picelement-420.jpg"); background-repeat: repeat; /*Other values may be repeat-x, repeat-y or simply repeat*/ color: white; } </style> </head> <body> <h2>Background repeat horizontally or vertically or no repeat</h2> Change the value of background-repeat:<br> <div style="background: #00000099;padding: 20px;"> background-repeat: repeat-x<br> background-repeat: repeat-y<br> background-repeat: no-repeat<br> </div> </body> </html>