0
I can’t color either the image or the text. Like a slider.. of the header.
.topo {
background-color: azure;
}
.img {
float: left;
width: 25%;
}
.titulo-principal,
p {
font-size: "Open Sans Condensed", "Arial", sans-serif;
text-align: center;
}
<header class="topo">
<img src="img/logo.png" alt="Logo" class="img" />
<h1 class="titulo-principal">Hostsite VH</h1>
<p> Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quas consequatur odit assumenda, rerum</p>
</header>
What would be the expected result?
– Woss
Try to explain the question better. I couldn’t understand what you want to do
– Eduardo Ribeiro
I would like to make a header with a background color, and leave the image at the bottom a little bit off that background. The way I did it here, I just get the text with the background of the color I put there, and the line of the image doesn’t.
– thaty
Would you be able to edit your question and include an image of the layout you want? From what I understand you want a piece of the image to stay on the background color and another part of the image to stay out of that background color, that’s it?
– hugocsl
That’s exactly it. I just got the picture of how it looks on you. But I want that little blue color there to take the image too and part of the image to stay out of the blue .
– thaty