Created
July 21, 2013 18:33
-
-
Save jklm313/6049452 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; | |
| overflow: hidden; | |
| } | |
| .container { | |
| overflow: auto; | |
| background: red; | |
| transform: | |
| rotate(-90deg); | |
| } | |
| .container div { | |
| height: 200px; | |
| width: 200px; | |
| border: 2px dashed; | |
| border-top: 4px solid; | |
| margin: 2%; | |
| } | |
| .container div:first-child { | |
| height: 500px; | |
| width: 500px; | |
| transform-origin: 50%; | |
| transform: | |
| rotate(90deg) | |
| } |
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":"result"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment