I want to put all the elements of a div at the same height as in this image:
Somineislikethis:
MyHTML:
<divclass="banner">
<div class="container">
<div class="conteudo-banner">
<h1>Kerline</h1>
<div class="code-logo">
<span><</span>
<span>/</span>
<span>Code</span>
<span>></span>
</div>
</div>
</div>
My CSS:
.banner{
background-color: #FFFFFF;
padding: 98px 0 240px;
}
.conteudo-banner{
margin-top: 65px;
}
.conteudo-banner h1{
font-family: techno_hideo;
font-size: 13.5em;
color:#000000 ;
text-align: center;
}
.code-logo{
position: absolute;
left: 50%;
top: 20em;
}
.conteudo-banner .code-logo span{
font-size: 6.5em;
text-transform: uppercase;
letter-spacing: -3px;
font-weight: 700;
}
.conteudo-banner .code-logo span:nth-child(1),
.conteudo-banner .code-logo span:nth-child(2),
.conteudo-banner .code-logo span:nth-child(4){
color:#292570;
font-size: 7.5em;
font-weight: 700;
}
.conteudo-banner .code-logo span:nth-child(3){
font-style:italic;
}