0
Web development: backgrounds
Iām experimenting with different backgrounds and noticed that they repeat and form lines. How do I make so only one picture is the background and thereās no repeat. Itās just one picture
9 Answers
+ 4
link your code.
if you size the image to the entire screen, it may get distorted.
+ 3
depends on what you want to do? i'm just saying that different devices also have different screen sizes which might be a problem when using an image with a fixed aspect ratio
+ 1
Just coming on board, hoping to get value and help from you all
0
set the background-repeat property in css
https://www.w3schools.com/cssref/pr_background-repeat.php
0
I see what you are saying but for some reason my background is divided into a quartet. Only my left half had the background while the other was blank. Thank yoh though for the suggestion
0
So only use backgrounds for borders and stuff? Ill just use background color i guess?
0
Try setting background size to 150%
0
How do i set the size?
0
Background size property