Last active
August 29, 2015 14:17
-
-
Save alphatr/a79d9b35d69b2f6269f7 to your computer and use it in GitHub Desktop.
PhotoShop Transparent 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
/* PhotoShop Transparent Background */ | |
.ps { | |
background-color: #FFF; | |
background-image: -webkit-linear-gradient(bottom left, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%, #CCC), | |
-webkit-linear-gradient(bottom left, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%, #CCC); | |
background-image: -o-linear-gradient(bottom left, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%, #CCC), | |
-o-linear-gradient(bottom left, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%, #CCC); | |
background-image: linear-gradient(to top right, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%, #CCC), | |
linear-gradient(to top right, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%, #CCC);; | |
background-position: 0 0, 8px 8px; | |
background-size: 16px 16px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment