I want the text on top of the image not to have the opacity its parent is having without changing the layout.
HTML
<div class="container">
<div class="imageHolder">
<img src="http://www.hairstylermall.com/wp-content/uploads/short-layered-hairstyles-2013-2-200x300-short-layered-hairstyles-2013-20140813122004-53eb90341bf7e-440x425.jpg">
<div class="messageBox">
<h4>Something</h4>
<p>This is dummy</p>
</div>
</div>
</div>
CSS
.imageHolder {
position:relative;
}
.messageBox {
position:absolute;
bottom:20px;
width:70%;
background-color:#999;
padding:10px;
left:20px;
opacity:0.5;
}
Please check this fiddle.
And please pure HTML & CSS