0
Im旋转这个div的文本,并想知道如何可能缓慢地旋转文本,一旦部分旋转和鼠标从div移动。如何在部分旋转后“旋转”div?
我不能将鼠标移动到div上,因为它不知道哪个div将被移动到。
示例如下。
.reblogbutton{
position:relative;
display:table;
color:black;
width:60px;
height:60px;
border-radius:32px;
border: solid 2.5px black;
text-align:center;
margin:auto;
top:2.5px;
background-color:#B19CD9;
}
.reblogbutton a{
display:table-cell;
color:black;
vertical-align:middle;
}
.reblogbutton a:hover{
transform:rotate(360deg);
-o-transform:rotate(360deg);
-moz-transform:rotate(360deg);
-webbkit-transform:rotate(360deg);
transition: all 1.2s ease;
-webkit-transition: all 1.2s ease;
-moz-transition: all 1.2s ease;
-o-transition: all 1.2s ease;
}