Im trying to vertical center children of an absolute positioned div with no luck. Anyone having a good solution for this? (whitout js).
<div class="title">
<div>
<span>03</span>
</div>
<h2>
title
</h2>
</div>
css:
.title {
height: 100%;
position: absolute;
text-align: center;
width: 100%;
}
.title div,h2 {
//i want to center these two verical
}