I need to use css and it :hover to apply a gradient and icon over the image. It should look something like this , but I only get it like this:
.test { display: block; height: 200px; background: url(http://krolik74.kpeatop.com/hosting.png) no-repeat; width: 588px; } .test:hover { background: linear-gradient(270deg, rgba(0, 188, 240, 0.7) 0%, rgba(5, 42, 64, 0.7) 100%), url(http://krolik74.kpeatop.com/hosting.png) no-repeat; } <div class="test"> </div> Tell me how to do it please. And maybe there are pictures to insert through html, and not through css?
<img src="путь-к-файлу" alt="описание">- Kosta B.