+ 3
Please I need a short written html and it's css code with background-image from any website.
I have been trying to make a background-image stored in my local directory display and it has refused to display, I've tried several methods but no way. I need urgent help!!!
8 Respostas
+ 8
I don't see any errors . i think your image is not public try storing your image on the server itself.
+ 7
If i could see the code it would be a lot easier 😉
0
Yes
0
margin: 0;
padding:0;
}
header
{
background-image: url("https://drive.google.com/drive/u/2/mobile/recent/pic1.png");
height: 100vh;
background-size: cover;
background-position: center ;
}
.main-row
{
float: right ;
list-style: none;
margin-too: 30px;
}
0
margin: 0;
padding:0;
}
body
{
background-image: url("https://drive.google.com/drive/u/2/mobile/recent/pic1.png");
height: 100vh;
background-size: cover;
background-position: center ;
}
.main-row
{
float: right ;
list-style: none;
margin-too: 30px;
}
0
OK thanks, let me try ur suggestions