Created
June 30, 2011 02:31
-
-
Save alchemycs/1055503 to your computer and use it in GitHub Desktop.
Add a spotlight sheen to a background
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
.spotlight { | |
background:-webkit-gradient(radial, 250 50,0,250 50,800, | |
from(rgba(255,255,255,.4)),to(transparent)) transparent; | |
background: -moz-radial-gradient(250px 50px, | |
rgba(255,255,255,.4), transparent) transparent; | |
} | |
/* | |
Found this nice little snippet on Forrst.com at http://forrst.com/posts/Add_a_spotlight_sheen_to_your_backgrounds_with-zWQ | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment