50求财付通主页上的箭头背景动画animate实现方法
地址在这:https://www.tenpay.com/v2/index.shtml
还没搞清他们是怎么实现的,求大神指点,我在网上查了一下,好像是要用到animate的jquery插件,我想问有没有不用插件就可以实现这个箭头顺时针的方法呢?
背景图片在这:
[解决办法]
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=Gb2312" />
<title>无标题文档</title>
<style>
span.bottom{
position: relative;
width: 25px;
height: 25px;
float: left;
-webkit-transition: .3s ease-in;
-moz-transition: .3s ease-in;
-o-transition: .8s ease-in;
transition: .3s ease-in;
}
span.bottom em, span.bottom i{
position: absolute;
left: 0;
border-color: rgba(255,255,255,0);
border-style: solid;
border-width: 13px 13px 0px;
}
span.bottom em{
border-top-color: #6c6c6c;
top: 5px;
}
span.bottom i{
border-top-color: #fefefe;
}
span.bottom:hover{
-webkit-transform:rotate(180deg);
-moz-transform:rotate(180deg);
-o-transform:rotate(180deg);
transform:rotate(180deg);
}
</style>
<body>
<span class = "bottom">
<em></em><i></i>
</span>
</body>
</html>