-1
I hosted three images to put in my page as background-image of header, footer and in an img tag, but they do not appear. I put it this way:
.rodape{
background-color: #000;
background-image: url(https://ibb.co/TwVWfw5);
background-size: 30%;
background-position: left bottom;
background-repeat: no-repeat;
padding: 50px;
height: auto;
margin: 0;
width:100%;
}
.cabecalho{
background-image: url('https://ibb.co/n3y80Vq');
padding: 0;
}
.logo{
width: 56px;
height: 56px;
float:left;
}
<section class="centro">
<header class="cabecalho">
<div class="cabecalho-container">
<div class="cabecalho-top">
<div>
<img src="https://ibb.co/qnRQqss" alt="logo da pagina" class="logo">
</div>
</div>
</div>
</header>
<!--conteudo da pagina-->
<footer class="rodape">
<p> rodape </p>
</footer>
</section>
You added images to the elements
.cabecalho
and.rodape
, but in its code already only the.logo
.– Woss
was just to show how I put the links of the images, but I’ll put the rest
– Camilly
This is the link to the image https://i.ibb.co/X4zr0ss/game-console.png, not the one you used https://ibb.co/TwVWfw5 the code is right, you did not get the correct link from the image
– hugocsl
all quiet? I believe it’s the lack of quotes in the background-image, take a look here https://developer.mozilla.org/pt-PT/docs/Web/CSS/background-image I hope I’ve helped.
– Rodrigo Almeida Bezerra