<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test css3</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style>
body {
text-align:center;
background: #d2ff52;
background: -moz-linear-gradient(top, #d2ff52 0%, #91e842 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d2ff52), color-stop(100%,#91e842));
background: -webkit-linear-gradient(top, #d2ff52 0%,#91e842 100%);
background: -o-linear-gradient(top, #d2ff52 0%,#91e842 100%);
background: -ms-linear-gradient(top, #d2ff52 0%,#91e842 100%);
background: linear-gradient(top, #d2ff52 0%,#91e842 100%);
}
div.animation {
color: #000;
background: #ccc;
padding: 25px;
width:150px;
text-decoration:none;
margin:250px auto;
border:1px solid orange;
font:50px arial;
-webkit-transition: all 1s linear;
-moz-transition: all 1s linear;
transition: all 1s linear;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
div.animation:hover {
color: yellow;
background: orange;
margin-top:150px;
margin-bottom:320px;
border:5px solid green;
webkit-box-shadow: 25px 25px 50px #555;
-moz-box-shadow: 25px 25px 50px #555;
box-shadow: 25px 25px 50px #555;
text-shadow: 10px 10px 10px #000;
-moz-transform: scale(2) rotate(720deg);
-webkit-transform: scale(2) rotate(720deg);
-o-transform: scale(2) rotate(720deg);
-ms-transform: scale(2) rotate(720deg);
transform: scale(2) rotate(720deg);
-webkit-border-radius: 75px;
-moz-border-radius: 75px;
border-radius: 75px;
}
</style>
</head>
<body>
<div class='animation'>آزمایشی</div>
</body>
</html>