<div style="width: 50%; height: 20px; background-color: red;"> <div style="width: 50%; height: 100%; background-color: blue;"> </div> </div>
This Pen is owned by Muhammad Faqih Muntashir on CodePen.
See more by @itsfaqih on CodePen
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.