Created
February 20, 2011 11:51
-
-
Save nus/835920 to your computer and use it in GitHub Desktop.
CSS3で文字を動かす。Javascriptより簡潔に書ける。
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
<html> | |
<head> | |
<title>Hello PoinPoin!</title> | |
<style type="text/css"> | |
@-webkit-keyframes PoinPoin { | |
50% {-webkit-transform: translate(0px, 80px);} | |
} | |
p { | |
-webkit-animation-name: PoinPoin; | |
-webkit-animation-duration: 2s; | |
-webkit-animation-iteration-count: infinite; | |
-webkit-transition-timing-function: ease-in; | |
} | |
</style> | |
</head> | |
<body> | |
<p>Hello PoinPoin!</p> | |
</body> | |
<html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment