Created
July 21, 2013 19:38
-
-
Save jklm313/6049674 to your computer and use it in GitHub Desktop.
Untitled
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
| *, *:before, *:after { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| position: relative; | |
| } | |
| html, body { | |
| height: 100%; | |
| } | |
| html { | |
| background-color: skyblue; | |
| padding: 2%; | |
| } | |
| body { | |
| background-color: white; | |
| } | |
| .container { | |
| overflow: auto; | |
| background: red; | |
| transform: | |
| rotate(-90deg); | |
| } | |
| .container div { | |
| height: 200px; | |
| width: 200px; | |
| border: 2px dashed; | |
| border-top: 4px solid; /* to identify top side */ | |
| margin: 2%; | |
| transform-origin: 50%; | |
| transform: | |
| rotate(90deg); | |
| } | |
| /*.container div:first-child { | |
| height: 500px; | |
| width: 500px; | |
| }*/ |
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 class='container'> | |
| <div></div> | |
| <div></div> | |
| </div> |
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
| {"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment