Date Ribbon
by Saran
HTML
<div class="date traditional">
<p>
<span class="day">3 ppl</span>
<span class="month"><strong>€</strong> 85</span>
</p>
</div>
CSS
body {
background: #e6e6e6 url(http://noisepng.com/100-90-5-monochrome.png) 0 0 repeat;
}
/* Date Ribbon */
.date {
background: #c4453c;
float: left;
height: auto;
margin: 50px;
position: relative;
width: 40px;
}
.date p {
color: #f6f6f6;
font: 13px/20px Helvetica, sans-serif;
position: relative;
text-align: center;
text-shadow: 0 -1px 1px hsla(0,0%,0%,.1);
}
.date p:after {
background: #e6e6e6 url(http://noisepng.com/100-90-5-monochrome.png) 0 0 repeat;;
content: '';
height: 25px;
left: -15px;
position: absolute;
top: -25px;
width: 70px;
box-shadow: 0 10px 10px -10px hsla(0,0%,0%,.5);
}
.date .day {
display: block;
padding-top: 6px;
}
/* Traditional Ribbon */
.traditional:after, .traditional:before {
border-top: 15px solid #c4453c;
bottom: -15px;
content: '';
height: 0;
position: absolute;
width: 0;
}
.traditional:after {
border-right: 25px solid transparent;
left: 0;
}
.traditional:before {
border-left: 25px solid transparent;
right: 0;
}