Created
March 6, 2014 17:36
-
-
Save zsimo/9395135 to your computer and use it in GitHub Desktop.
Untitled
This file contains 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
/*pseudo class*/ | |
.default { | |
position: absolute;top: 100px;left: 100px; | |
height: 100px; | |
width: 100px; | |
background-color: rgba(0, 0, 0, .8); | |
color: white; | |
font-size: 46px; | |
-webkit-transition: all 500ms ease-in; | |
} | |
.newState { | |
background-color: rgba(100, 200, 100, 1); | |
transform: rotate(90deg); | |
-webkit-transform-origin: bottom; | |
} |
This file contains 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="default newState">css</div> |
This file contains 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
// alert('Hello world!'); |
This file contains 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":"split-vertical","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