2
How do I put half the text on top of the blue background?
.event_background {
background: #bdecef;
}
.flexbox_grid {
display: flex;
}
.flexbox_event_image {
width: 70.0%;
margin: 1%;
}
.flexbox_event_description {
width: 30.0%;
margin: 1%;
}
.flexbox_event_cort {
width: 700px;
height: 350px;
overflow: hidden;
}
.flexbox_event_cort img {
width: auto;
}
.event_align {
padding-top: 40px;
}
.event_data {
font: 600 12px/18px "b";
font-family: Ubuntu Condensed;
padding-bottom: 15px;
}
.event_day{
margin-right: 8px;
font: 400 16px/18px Ubuntu Condensed;
color: #ee5949;
font-style: italic;
}
.event_title h4 {
position: relative;
text-transform: uppercase;
color: #0c2044;
font: 700 30px/30px "b";
font-family: Ubuntu Condensed;
letter-spacing: 0;
padding-bottom: 15px;
}
<div class="flexbox_grid">
<div class="flexbox_event_image event_background">
<div class="flexbox_event_cort">
<img src="https://guia-static.gazetadopovo.com.br/materias/repositorio/1503068879.jpeg" alt="">
</div>
</div>
<div class="flexbox_event_description event_align">
<div class="event_data"><span class="event_day">Domingo</span> 22-10-2017</div>
<div class="event_title"><h4>Villa Mix</h4></div>
<div class="event_title"><h4>Exprotrade Pinhais</h4></div>
</div>
</div>
"put half the text on top of the blue background?" What do you mean ? I only see a background with an image
– Isac
I put up a picture, it’s like that
– Henrique