效果静态图如下,如需查看动态效果,请运行下面代码!
<!DOCTYPE html>
<html>
<head>
<style>
.box{
width:400px;
height:450px;
position: relative;
background-color: #13ec74;
overflow:hidden;
}
.cr {
width: 200px;
height: 200px;
background-color: #45d84b;
position: absolute;
animation-name: example;
animation-duration: 6s;
animation-iteration-count: infinite;
animation-timing-function: linear;
border-radius:50%;
top:-50px;
right:-50px;
z-index:2
}
.cr11 {
width: 500px;
height: 500px;
background-color: #86e4b0;
position: absolute;
animation-name: example1;
animation-duration: 4s;
animation-iteration-count