Created
June 23, 2012 07:37
-
-
Save BigAB/2977397 to your computer and use it in GitHub Desktop.
Boxes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="pic teamfrank">TeamFrank</div> | |
<div class="pic bigab">BigAB</div> | |
<div class="pic"></div> | |
<div class="pic adamnsarah">Sarah and Adam</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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