0

Background image position

Hi, good day. please can someone help me set this image position to the bottom, the code below is not giving me what I want. Your help will be appreciated a lot. Thanks. body { background-image:url(" https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcSJ8adM449E85H4tPivAm36MOAis5kGJlaojw&usqp=CAU "); background-repeat:no-repeat ; background-position:Bottom;

18th Jul 2020, 1:52 PM
Oluwatobi
Oluwatobi - avatar
4 Answers
+ 1
background-position:0% -50%; Add this to your css instead of background-position:Bottom;
18th Jul 2020, 2:24 PM
Ayush Kumar
Ayush Kumar - avatar
0
Okay so I tried it but it went to the middle, I made it -100% , but still not to the bottom. Please what else can I do ?
18th Jul 2020, 2:40 PM
Oluwatobi
Oluwatobi - avatar
0
It is working fine for me: body{ background-image: url("http://www.sololearn.com/uploads/css_logo.png"); background-repeat:no-repeat; background-position: bottom ; }
19th Jul 2020, 8:13 PM
Jayakrishna 🇼🇳
0
Okay. I don't know why is not working for me. But I have gotten what I wanted though. I had to add the background-attachment property and set it to fixed. Thanks for contributions! đŸ™đŸ»
20th Jul 2020, 5:03 AM
Oluwatobi
Oluwatobi - avatar