Created
May 6, 2013 02:52
-
-
Save theaccordance/5523115 to your computer and use it in GitHub Desktop.
Method for using multiple CSS3 properties to portray a sophisticated background. Particular example uses a gradient background color in the body, with a container div that applies two semi-transparent images in a pattern to give a wallpaper-like feel. Can be viewed at http://sararokicki.com
This file contains hidden or 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: #290e2a; | |
| background: rgb(33, 7, 34) -moz-radial-gradient(center top, circle farthest-side, rgb(130, 77, 132) 0%, rgb(33, 7, 34) 100%) no-repeat; | |
| background: -webkit-gradient(radial, 50% 0%, 0, 50% 0%, 1000, from(rgb(64, 38, 65)), to(rgb(33, 7, 34))); | |
| } | |
| #container { | |
| min-height: 100%; | |
| background: url(purple/stripe-thick.png) scroll repeat; | |
| background: url(purple/stripe-thin.png), url(purple/stripe-thick.png) scroll repeat; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment