I can’t put picture in the background

Asked

Viewed 599 times

1

I tried to put the image in the background I put the background-image, I also put the path in the URL but it does not take.

body{
    margin: 10px;
    padding: 10px;
    background-image:url( ooo/imagens/back.jpg);
}

aqui tá a pasta do arquivo pra vocês verificarem o caminho

  • Have you tried ../imagens/back.jpg?

  • Log in to the console and check if an error has occurred, maybe the path you are reporting is wrong

1 answer

1


background-image: url('../imagens/back.jpg');

Browser other questions tagged

You are not signed in. Login or sign up in order to post.