lylcn

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style type="text/css">
div{
width:200px;
height:200px;
position:relative;
background:rgba(205,105,12,0.5);
border-radius:100px;
animation:move 3s infinite alternate;
}
/*@keyframes move{
0%{
top:100px;
left:0px;}
20%{
left:100px;
top:0px}
50%{
left:500px;
top:30px;}
100%{
left:800px;
top:50px;}}*/
@keyframes move{
0%{
transform:translate(100px,100px);}
50%{
transform:translate(0px,0px);}
100%{
transform:translate(1000px,100px);}}

</style>
</head>

<body>
<div></div>
</body>
</html>

分类:

技术点:

相关文章:

  • 2022-01-08
  • 2021-08-22
  • 2021-06-19
  • 2021-12-04
  • 2021-10-18
  • 2022-12-23
  • 2021-08-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2021-09-23
  • 2022-01-18
  • 2021-12-25
  • 2021-09-09
相关资源
相似解决方案