Created
September 19, 2014 16:08
-
-
Save dannysmith/232fac9721d5908f5c44 to your computer and use it in GitHub Desktop.
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
| <html> | |
| <head> | |
| <style> | |
| body { | |
| width: 30%; | |
| margin: 3em auto; | |
| position: relative; | |
| height: 180px; | |
| text-align: center; | |
| } | |
| .seat { | |
| padding: .5em; | |
| margin-bottom: .5em; | |
| border-radius: 3px; | |
| background: rgba(200,200,100,0.4); | |
| box-shadow: 0 0 5px rgba(0,0,0,0.3); | |
| } | |
| .left { | |
| float: left; | |
| } | |
| .bottom { | |
| position: absolute; | |
| bottom: 0; | |
| width: 100%; | |
| } | |
| .right { | |
| float: right; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- If 1, spit this out --> | |
| <div class="left"> | |
| <div class="seat">One</div> | |
| <!-- If 2, 3, spit this out --> | |
| <div class="seat">-</div> | |
| <!-- If 4, spit this out --> | |
| </div> | |
| <div class="bottom"> | |
| <div class="seat">Four</div> | |
| </div> | |
| <div class="right"> | |
| <!-- If 5, 6, spit this out --> | |
| <div class="seat">-</div> | |
| <!-- If 7, spit this out --> | |
| <div class="seat">Seven</div> | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment