Created
April 5, 2012 08:37
-
-
Save b4z81/2309210 to your computer and use it in GitHub Desktop.
image effects
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
.polaroid { | |
position: relative; | |
width: 220px; | |
} | |
.polaroid img { | |
border: 10px solid #fff; | |
border-bottom: 45px solid #fff; | |
-webkit-box-shadow: 3px 3px 3px #777; | |
-moz-box-shadow: 3px 3px 3px #777; | |
box-shadow: 3px 3px 3px #777; | |
} | |
.polaroid p { | |
position: absolute; | |
text-align: center; | |
width: 100%; | |
bottom: 0px; | |
font: 400 18px/1 'Kaushan Script', cursive; | |
color: #888; | |
} |
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="polaroid"> | |
<p>Sarah, Dec '02</p> | |
<img src="http://lorempixum.com/200/200/people/1" /> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment