Лента с уголком на картинке (Вариант 2)
HTML
<div class="visual">
<a href="###">
<img src="http://s3.hostingkartinok.com/uploads/images/2013/08/8c13d63e1571cf0bf278d210dbaeff80.jpg">
</a>
<div class="corner"></div>
</div>
CSS
a {
text-decoration: none;
cursor: pointer;
}
/* Стили блока с картинкой */
.visual{
position: relative;
border-radius: 2px;
background: #fff;
box-shadow: 0 1px 5px 0 #4a4a4a;
transition: all 1s;
}
/* Стили картинки внутри блока */
.visual img {
height: 120px;
width: 160px;
vertical-align: middle;
}
/* Стили ленты */
.corner {
background: rgb(255, 0, 0);
opacity: .85;
box-shadow: -0px 5px 5px -5px #000;
color: #fff;
position: absolute;
font: 11px/18px 'PT Sans', arial, sans-serif;
z-index: 1;
top: 4px;
left: -5px;
padding: 0 5px 0 7px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
/* Стили уголка ленты */
.corner span {
content: "";
position: absolute;
top: 100%;
left: 0;
width: 0;
height: 0;
border-top: 5px solid transparent;
border-left: 5px solid transparent;
border-top-color: #FF0000;
}