Check out my code snippet on JSFiddle: http://jsfiddle.net/Vbtts/2624/ Here is the HTML structure:
<a href="#" class="col-xs-6 col-sm-4 big-container with-background">
<div class="bottom-align">
<label class="uppercase">preséntation</label>
<h2>Une entreprise<br> intégrée pour<br> contrôler la qualité<br> de toutes les étapes<br> des projets></h2>
</div>
</a>
And here's the corresponding CSS:
.with-background{width:100%;background:url(https://cask.scotch.io/2015/04/scotch-box-sidebar.png);display:block;height:200px;}
.with-background:hover{opacity:0.7}
I'm trying to achieve a hover effect where only the background image has reduced opacity, not the text content (label and h2). Any suggestions on how I can accomplish this? Thank you!