Good morning everyone,
I'm trying to put a background image in CSS3. In this case, I put the following:
HTML
<div class="seccion_1" ></div>
CSS
.seccion_1 {
background: url('desarrollo/equipo.jpg') no-repeat;
background-size: cover;
position: relative;
left: 25%;
display: flex;
flex-flow: row;
width: 100%;
height: 800px;
}
The image places it across the entire width of the browser, but only takes a piece of the image. I understand that if I put background-size: cover; I would have to adapt the image to the box.
How can the image be adapted to the box with another method? Why is not the image adapted?
The image is 1280X1024 in size.
Thank you!
Edited: A cut of how it would be.