I need, so that when you hover on a photo, this blue frame is superimposed on it, a frame in png format. I made sketches but I can't. Maybe I did something wrong, or there is some other option!
<div class="bordered"> <img src="images/photo-staff-1.png" class="by-picture" alt=""> </div> .bordered{ display: inline-block; position: relative; } .bordered .by-picture{ display: inline-block; position: relative; z-index: 100 } .bordered:hover{ background: url(../images/border.png); z-index: 200; position: absolute; } 

png, but also have a transparent background. otherwise the plan won't work - lexxl