I am trying to put a layer at the top of an image using css. But for some reason the img class is not taking the effect.
Html --
<div class="slider">
<img src="http://kenwheeler.github.io/slick/img/fonz1.png" />
</div>
Demo -- https://jsfiddle.net/squidraj/b49a6xkd/
Any help is highly appreciated.