<div class="view overlay"> <img src="https://mdbootstrap.com/img/Photos/Others/forest-sm.jpg" class="img-fluid " alt="smaple image"> <div class="mask flex-center rgba-green-slight"> <p class="white-text">Super light overlay</p> </div></div>