Created
November 11, 2014 14:36
-
-
Save victorb/0abe9182e59279d009d2 to your computer and use it in GitHub Desktop.
HTML for adding a "Rule of Thirds" grid to webpages
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
| <div id="third_grid" style=" | |
| /* background-color: black; */ | |
| position: static; | |
| top: 0px; | |
| bottom: 0px; | |
| left: 0px; | |
| right: 0px; | |
| z-index: 9999; | |
| "> | |
| <div id="vertical_1" style=" | |
| background-color: black; | |
| width: 10px; | |
| position: fixed; | |
| top: 0px; | |
| left: 33%; | |
| /* right: 33%; */ | |
| bottom: 0px; | |
| z-index: 9999; | |
| "></div> | |
| <div id="vertical_2" style=" | |
| background-color: black; width: 10px; | |
| position: fixed; top: 0px; | |
| /* left: 33%; */ | |
| right: 33%; bottom: 0px; z-index: 9999; | |
| "></div> | |
| <div id="horizontal_1" style=" | |
| background-color: black; | |
| height: 10px; | |
| position: fixed; | |
| top: 33%; | |
| left: 0px; | |
| right: 0px; | |
| /* bottom: 0px; */ | |
| z-index: 9999; | |
| "></div> | |
| <div id="horizontal_2" style=" | |
| background-color: black; height: 10px; | |
| position: fixed; | |
| /* top: 33%; */ left: 0px; right: 0px; | |
| bottom: 33%; z-index: 9999; | |
| "></div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment