<head>

<meta charset="UTF-8">

<title></title>

<style type="text/css">

#box{

position: relative;

width: 100px;

margin: 100px auto 0;

}

span{

position: absolute;

width: 50px;

height: 50px;

border: 5px solid #fff;

border-radius: 50%;

-webkit-animation: a 4s infinite linear;

}

span:nth-child(1){

-webkit-animation-delay: 0s;

}

span:nth-child(2){

-webkit-animation-delay: 0.66s;

}

span:nth-child(3){

-webkit-animation-delay: 1.33s;

}

@-webkit-keyframes a{

0%{-webkit-transform: scale(0); opacity: 0;}

25%{-webkit-transform: scale(0); opacity: 0.5;}

50%{-webkit-transform: scale(1); opacity: 1;}

75%{-webkit-transform: scale(1.5); opacity: 0.5;}

100%{-webkit-transform: scale(2); opacity: 0;}

}

</style>

</head>

<body style="background-color: darkgreen;">

<div id="box">

<span></span>

<span></span>

<span></span>

</div>

</body>

相关文章:

  • 2022-02-02
  • 2022-12-23
  • 2021-05-21
  • 2021-10-05
  • 2021-12-06
  • 2022-01-22
  • 2021-07-14
  • 2021-12-13
猜你喜欢
  • 2021-05-19
  • 2022-02-24
  • 2021-08-14
  • 2021-06-06
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
相关资源
相似解决方案