Created
February 3, 2015 15:01
-
-
Save akecn/2cdb19b3d71e26884039 to your computer and use it in GitHub Desktop.
css实现苹果背景效果
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 { | |
background: | |
radial-gradient(black 15%, transparent 16%) 0 0, | |
radial-gradient(black 15%, transparent 16%) 8px 8px, | |
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px, | |
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px; | |
background-color:#282828; | |
background-size:16px 16px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment