[Solved] How can i do this in css/html?
.outer{ width: 300px; height: 300px; position: relative; } .outer > .inner{ background: rgba(0,0,0,0.9); color: #fff; position: absolute; padding: 10px; right: 0; bottom: 0; left: 0; z-index:1; } <div class=”outer” style=”background:url(http://lorempixel.com/600/300/)center center no-repeat;background-size:cover”> <div class=”inner”>Some text here</div></div> 0 solved How can i do this in css/html?