Why images are repeating like tiles | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 5

Why images are repeating like tiles

body { background-image: url("http://www.sololearn.com/uploads/css_logo.png"); background-color: #e9e9e9; }

12th Mar 2018, 4:51 PM
Jay Jay
Jay Jay - avatar
2 Réponses
+ 5
Add background-repeat:no-repeat; to prevent the image being tiled on background. When a background image is small by default it will be tiled to fill the area. Hth, cmiiw
12th Mar 2018, 6:03 PM
Ipang
0
'"<b>bbb</b>"'
11th Aug 2018, 12:10 PM
mostuf