+ 2
Does anyone know how to stop background images from repeating?How do I make it full screen?
8 Answers
+ 4
Background-repeat:no-repeat in your css
+ 4
background : url(" ") no-repaet center;
background -size: cover;
+ 3
Use
background repeat : no - repeat; in CSS or inside the <style> tag
Other type to set no repeat
background: url(https://source.unsplash.com/1600x900/?monuments,india) no-repeat;
hope it helps
Happy Coding :)
+ 1
background-size:contain;
+ 1
Check this out:
https://css-tricks.com/perfect-full-page-background-image/
+ 1
background-image:url() no-repeat;
+ 1
Set the image resolution same to your device
0
background: url(bg.jpg) 50% / cover no-repeat;