I dont want to open a new topic, so I'll post it here because it similar problem. I did this transition before and it worked. Now when I try to run it it doesnt work. Code is the same and also Chrome.
When its hovered it disappears and when its done transforming it shows up. I did a google search and found out its problem with browser. Then I tried in IE and Firefox and Safari and it worked. But I want to know why it has worked first time. Why is that. My Chrome version is 16.0.912.63. Can you try this code to see does it work for you.
Code:
body{
text-align:center;
}
#box{
display:block;
width:500px;
margin:150px auto;
padding:15px;
text-align:center;
border:7px solid blue;
background:yellow;
-webkit-transition: -webkit-transform 10s;
}
#box:hover{
-webkit-transform:rotate(45deg);
}
Code:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Bucky's Website</title>
<link rel="stylesheet" href="main.css" />
</head>
<body>
<div id="box">
<p id="text">omgwtfbbq?</p>
</div>
</body>
</html>
31362188.png
Bookmarks