I'm struggling with something that supposedly has to be very easy. I have two div
, and I want them to fill the 100% of the vertical space; But I can't!
This is my code:
.Contact {
display: flex;
}
.left {
width: 60%;
background-color: tomato;
}
.right {
width: 40%;
background-color: pink;
transition: all 0.5s ease;
}
.right:hover {
width: 50%;
transition: all 0.5s ease;
}
<div class="Contact">
<section class="left">
<h1>Lorem ipsum dolor sit amet.</h1>
</section>
<section class="right">
</section>
</div>
And there is a fiddle: https://jsfiddle.net/stcd2k1s/
It is a very simple question, but I can't make it work!
Thanks