Is there a CSS solution for creating a circular container with a rectangular div inside it, positioned at the bottom and masked off so that anything outside of the container's border radius is hidden? I'm looking to achieve this effect but unsure of how to proceed. See the included screenshot for reference and review my code below:
<div id="coupon_container">
<div id="meter_container">50c off</div>
</div>
#coupon_container {
position: fixed; right:0; top:0; z-index: 100; color: #fff; width:170px; height: 120px;
#meter_container {
position: absolute; width: 110px; height:110px; .round; background: @greenDk; border:5px solid #fff; left: 60px; overflow: hidden;
.meter_level { width: 100%; height:30%; position: absolute; bottom:0; text-align: center; font-size: 1.6em; background: @limeLt; }
}
}