Skip to content

Instantly share code, notes, and snippets.

@BigAB
Created June 23, 2012 07:37
Show Gist options
  • Save BigAB/2977397 to your computer and use it in GitHub Desktop.
Save BigAB/2977397 to your computer and use it in GitHub Desktop.
Boxes
/**
* Cool boxes
*/
body {
background: #fff;
}
.pic {
display: block;
padding: 3.5em 1em 0.5em 1em;
margin: 0.3em;
text-align: left;
max-width: 250px;
min-width: 5em;
height: 5em;
background: url(http://www.prweek.com/_images/avatar/defaultAvatar126.png) no-repeat top center;
background-size: cover;
box-shadow:inset 0px 0px 10px 4px black, 4px 6px 5px hsla(0,0%,0%,0.8);
border-radius: 19px;
cursor: pointer;
color: #fff;
text-shadow: 3px 2px 1px #000;
font-size: 2em;
vertical-align: top;
line-height: 1;
box-sizing: border-box;
font-family:Tahoma, Verdana,Segoe UI,Helvetica,Arial,sans-serif;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.teamfrank {
background-image: url(htt000 teamfrank.net/group.png);
}
.bigab {
background-image: url(http://bigab.net/bigab.jpg);
}
.adamnsarah {
background-image: url(http://lh6.ggpht.com/-1dhSUzxZ_CM/TqY7BSROb_I/AAAAAAAAgMg/60HDpWaUJYM/IMG_2149-1.JPG);
}
.runningpinkninja {
background-image: url(http://bigab.net/bigab.jpg);
}
<div class="pic teamfrank">TeamFrank</div>
<div class="pic bigab">BigAB</div>
<div class="pic"></div>
<div class="pic adamnsarah">Sarah and Adam</div>
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment