87,994
社区成员
发帖
与我相关
我的任务
分享
<style>
*{
margin:0px;
padding:0px;
}
.today_look {
height: 150px;
background-color:#06F;
margin-left:auto;
margin-right:auto;
width:1190px;
}
.today_look_l {
background: rgba(0, 0, 0, 0) url("jinri.png") no-repeat scroll 50% 0;
height: 150px;
position: relative;
width: 190px;
background-color:#00F;
}
.today_look_cir {
animation: 30s linear 0s normal none infinite running rotate;
color: #fff;
font-size: 18px;
height: 68px;
left: 87px;
line-height: 1px;
position: absolute;
top: 26px;
width: 10px;
}
.mt35 {
margin-top: 35px;
}
.over {
overflow: hidden;
}
.left {
float: left;
}
.clear{
clear:both;
}
</style>
<div class="today_look over mt35">
<div class="today_look_l left">
<p class="today_look_cir">这里是个小圆点</p>
</div>
<div id="today_look_r" class="today_look_r left">
<a href="/goods-5520.html" target="_blank">
<img src="9-1605111S150.jpg" width="250" height="150">
</a>
<a href="/goods-9321.html" target="_blank">
<img src="tooopen_sy_125236381149.jpg" width="250" height="150">
</a>
<a href="/goods-9371.html" target="_blank">
<img src="9-1605111S150.jpg" width="250" height="150">
</a>
<a href="/goods-9371.html" target="_blank">
<img src="tooopen_sy_125236381149.jpg" width="250" height="150">
</a>
</div>
</div>


<!DOCTYPE html>
<html>
<head>
<style>
div
{
width:100px;
height:100px;
background:red;
position:relative;
animation:mymove 5s infinite;
-moz-animation:mymove 5s infinite; /* Firefox */
-webkit-animation:mymove 5s infinite; /* Safari and Chrome */
-o-animation:mymove 5s infinite; /* Opera */
}
@keyframes mymove
{
0% {top:0px;}
25% {top:200px;}
75% {top:50px}
100% {top:100px;}
}
@-moz-keyframes mymove /* Firefox */
{
0% {top:0px;}
25% {top:200px;}
75% {top:50px}
100% {top:100px;}
}
@-webkit-keyframes mymove /* Safari and Chrome */
{
0% {top:0px;}
25% {top:200px;}
75% {top:50px}
100% {top:100px;}
}
@-o-keyframes mymove /* Opera */
{
0% {top:0px;}
25% {top:200px;}
75% {top:50px}
100% {top:100px;}
}
</style>
</head>
<body>
<p><b>注释:</b>本例在 Internet Explorer 中无效。</p>
<div></div>
</body>
</html>

div
{
animation:mymove 5s infinite;
-webkit-animation:mymove 5s infinite; /* Safari 和 Chrome */
}