Background in page

Hello I put this picture on a background
9 Replies
Pat66
Pat6616mo ago
but he look like this
Pat66
Pat6616mo ago
my css :
background: url("assets/jet.jpg") center/cover;
background-repeat: no-repeat;
background-attachment: fixed;
background: url("assets/jet.jpg") center/cover;
background-repeat: no-repeat;
background-attachment: fixed;
what shoud I do make the background look like the real picture ?
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Pat66
Pat6616mo ago
what I get
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Pat66
Pat6616mo ago
yes the picture to fill the background
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Pat66
Pat6616mo ago
hi it s the same things
Naa
Naa16mo ago
You're trying to put a portrait oriented image (taller than it is wide) in a section that is landscape oriented (wider than it is tall). If you want it to fill the full width of the section, it's going to have to essentially zoom in on the image so the width of the image is the same as the whole page, making the whole image larger, and therefore cutting off a lot of the height. If you want to see the image completely, there is going to be white space on the side(s). You could choose to background: url() top/cover so that the crop would at least include the top of the image, instead of the center.