Skip to content

Instantly share code, notes, and snippets.

@apueee
Forked from ajaxray/gist:3127894
Created June 28, 2013 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apueee/5886206 to your computer and use it in GitHub Desktop.
Save apueee/5886206 to your computer and use it in GitHub Desktop.
<style type="text/css">
a.user-image {
background: transparent no-repeat top left;
display: block;
text-indent: -999em;
width: 50px;
height: 50px;
border-radius: 5px;
box-shadow: 0px 0px 3px #666;
}
</style>
<a class="user-image" href="http://www.facebook.com/ajaxray" style="background-image: url(http://graph.facebook.com/667896332/picture)" title="Visit Anis's profile">Anis Ahmad</a>
<!--
Post: http://ajaxray.com/blog/rounded-thumb-image-with-css-3
Demo: http://ajaxray.com/Examples/cropped-thumb.html
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment