Created
May 13, 2016 16:02
-
-
Save aisin/2284fcf92287b44425f5dc1552799e98 to your computer and use it in GitHub Desktop.
页面背景设置为透明网格样式
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
/* | |
* 页面背景设置为透明网格样式 | |
*/ | |
body { | |
background-color: #fff; | |
background-image: | |
linear-gradient(45deg, #d6d6d6 25%, transparent 25%, transparent 75%, #d6d6d6 75%, #d6d6d6), | |
linear-gradient(45deg, #d6d6d6 25%, transparent 25%, transparent 75%, #d6d6d6 75%, #d6d6d6); | |
background-size: 16px 16px; | |
background-position: 0 0, 8px 8px | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment