react+ts小球抛物线
代码奉上
css:
html,body{
height: 100%;
}
#root,.App,.wrap{
height: 100%;
width: 100%;
}
.ball{
width: 60px;
height: 60px;
border-radius: 50%;
position: absolute;
background-color: tomato;
transition: left 1s linear, top
原创
2022-03-22 10:30:33 ·
1055 阅读 ·
0 评论