Avatar Gloss
by XTREME104
HTML
<a href="#">
<img src="http://placebear.com/72/72" />
</a>
<br>
<a href="#">
<img src="http://placekitten.com/48/48" />
</a>
<a href="#">
<img src="http://placedog.com/48/48" />
</a>
<a href="#">
<img src="http://placebear.com/48/48" />
</a>
<br>
<a href="#">
<img src="http://placekitten.com/24/24" />
</a>
<a href="#">
<img src="http://placedog.com/24/24" />
</a>
<a href="#">
<img src="http://placebear.com/24/24" />
</a>
<a href="#">
<img src="http://placekitten.com/24/24" />
</a>
<a href="#">
<img src="http://placedog.com/24/24" />
</a>
<a href="#">
<img src="http://placebear.com/24/24" />
</a>
CSS
html {
background: #f6f6f6;
padding: 24px;
text-align: center;
}
a {
border-radius: 4px;
display: inline-block;
position: relative;
-webkit-box-reflect: below 4px -webkit-linear-gradient(transparent 70%, rgba(0,0,0,.2) 90%);
}
a img {
display: block;
box-shadow: 0 0 2px 1px rgba(0,0,0,.2);
border-radius: 4px;
-webkit-transition: .5s ease;
-moz-transition: .5s ease;
-o-transition: .5s ease;
transition: .5s ease;
}
a:hover img {
box-shadow: 0 0 6px 1px rgba(0,150,250,1);
}
a:after {
content: '';
display: block;
position: absolute;
z-index: 999;
background: -webkit-linear-gradient(rgba(255,255,255,.4),transparent 70%);
background: -moz-linear-gradient(rgba(255,255,255,.4),transparent 70%);
background: -o-linear-gradient(rgba(255,255,255,.4),transparent 70%);
background: linear-gradient(rgba(255,255,255,.4),transparent 70%);
box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 0 0 1px rgba(0,0,0,.2);
border-radius: 4px;
top: 1px;
left: 1px;
bottom: 1px;
right: 1px;
}