Created
October 12, 2013 08:39
-
-
Save dziudek/6947507 to your computer and use it in GitHub Desktop.
Combination of few transitions
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
/** | |
* Combination of few transitions | |
*/ | |
img { | |
height: 240px; | |
opacity: 1; | |
width: 320px; | |
transition: | |
.5s height, | |
.5s .5s width, | |
.5s .25s opacity; | |
} | |
img:hover { | |
height: 320px; | |
opacity: 0.5; | |
width: 480px; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<img src="http://placekitten.com/320/240" alt="Sweet kittens!" /> |
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
// alert('Hello world!'); |
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":"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