No-Library (pure JS), HTML, CSS, JavaScript
How to draw a box of variable height using layered images