-
-
Save micheee/551ebabb832c7a57f751 to your computer and use it in GitHub Desktop.
css3 transition
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" | |
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
<head> | |
<title>Test</title> | |
<meta name = "viewport" content = "initial-scale = 1,width = device-width, user-scalable = no"> | |
</head> | |
<body> | |
<div style="border:10px solid blue;width:128px;-webkit-transition: -webkit-transform 1s ease-in" | |
onclick="this.style.webkitTransform='translate(158px,0)'"> | |
<img src="http://data.mactechnews.de/422511.png" width="128" height="96" /> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment