Created
August 17, 2012 23:39
-
-
Save matthewcopeland/3383491 to your computer and use it in GitHub Desktop.
A quick reference for checking repeatable background patterns.
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| body { | |
| /* Replace your image in this spot. */ | |
| background-image: url("yourimage.png"); | |
| /* set a color here */ | |
| background-color: #efefef; | |
| } | |
| html, body { | |
| padding: 0; | |
| margin: 0; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| height: 100%; | |
| width: 100%; | |
| } | |
| div { padding: 20px; } | |
| </style> | |
| </head> | |
| <body> | |
| <div> | |
| <h1>Repeatable Background Checker Thingy</h1> | |
| <h2>Instructions</h2> | |
| <ol> | |
| <li>Put your image in the same folder as this file. | |
| <li>Replace line-7's image-name with yours. | |
| <li>If you like, change the background-color on line 10. | |
| </ol> | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment