Created
December 29, 2010 17:32
-
-
Save dannysmith/758786 to your computer and use it in GitHub Desktop.
A little web page to show colour pallets to clients.
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 lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Colour Palette</title> | |
| <style>@media all {section {position:relative;margin-left: 50px;margin-top: 50px;width: 280px;height: 100px;} .bar {position:relative;height: 100%;width: 40px;margin-left: 140px;} .box {position:relative;height: 35px;width: 35px;margin-left: 212px;margin-top: -67px;} p {font-size: 12px;font-style: italic;margin-left: 55px;margin-top:3px;} | |
| #b1 {background: red;} | |
| #b1 .bar {background: green;} | |
| #b1 .box {background: yellow;} | |
| #b2 {background: black;} | |
| #b2 .bar {background: white;} | |
| #b2 .box {background: white;} | |
| }</style> | |
| </head> | |
| <body> | |
| <section id="b1"> | |
| <div class="bar"></div> | |
| <div class="box"></div> | |
| </section> | |
| <p>Bright Base Colour</p> | |
| <section id="b2"> | |
| <div class="bar"></div> | |
| <div class="box"></div> | |
| </section> | |
| <p>Other Colour combo</p> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment