Forked from NathalieLarsson/Easy Background Grid
Last active
October 14, 2015 00:47
-
-
Save grimen/4281863 to your computer and use it in GitHub Desktop.
More discrete theme.
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
html, body { | |
width: 100%; | |
height: 100%; | |
} | |
body { | |
outline: 1px dashed rgba(0, 0, 0, 0.2); | |
} | |
body:before { | |
content: ""; | |
position: fixed; | |
/*background-color: rgba(0,0,0,1.0) !important;*/ | |
background: linear-gradient(rgba(0,0,0,0.1) 2px, transparent 2px), linear-gradient(0, rgba(0,0,0,0.1) 2px, transparent 2px), linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px), linear-gradient(0, rgba(0,0,0,0.1) 1px, transparent 1px); | |
background: -webkit-linear-gradient(rgba(0,0,0,0.1) 2px, transparent 2px), -webkit-linear-gradient(0, rgba(0,0,0,0.1) 2px, transparent 2px), -webkit-linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px), -webkit-linear-gradient(0, rgba(0,0,0,0.1) 1px, transparent 1px); | |
background: -moz-linear-gradient(rgba(0,0,0,0.1) 2px, transparent 2px), -moz-linear-gradient(0, rgba(0,0,0,0.1) 2px, transparent 2px), -moz-linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px), -moz-linear-gradient(0, rgba(0,0,0,0.1) 1px, transparent 1px); | |
background: -ms-linear-gradient(rgba(0,0,0,0.1) 2px, transparent 2px), -ms-linear-gradient(0, rgba(0,0,0,0.1) 2px, transparent 2px), -ms-linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px), -ms-linear-gradient(0, rgba(0,0,0,0.1) 1px, transparent 1px); | |
background: -o-linear-gradient(rgba(0,0,0,0.1) 2px, transparent 2px), -o-linear-gradient(0, rgba(0,0,0,0.1) 2px, transparent 2px), -o-linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px), -o-linear-gradient(0, rgba(0,0,0,0.1) 1px, transparent 1px); | |
background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px; | |
-webkit-background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px; | |
-moz-background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px; | |
-ms-background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px; | |
-o-background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px; | |
background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px; | |
z-index: -1; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
opacity: 0.3; | |
pointer-events: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment