gsap实现一个蹦蹦跳弹簧单高跷跳动动画效果代码
代码语言:html
所属分类:动画
代码描述:gsap实现一个蹦蹦跳弹簧单高跷跳动动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> @import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700"); body { display: flex; align-items: end; justify-content: center; min-height: 100vh; overflow: hidden; } .circle { background-color: #88ce02; width: 140px; height: 140px; border-radius: 99% } .pogo-wrapper { transform: scale(0.7); display: flex; justify-content: center; padding-top: 10px; padding-bottom: 165px; width: 150px; } .pogo { height: 250px; width: 30px; background-color: green; position: relative; } .handle { position: absolute; width: 150px; height: 20px; left: -60px; background-color: black; } .handle-box { position: absolute; background-color: black; width: 40px; height: 50px; top: -10px; left: -5px; } .foot-handle { position: absolute; width: 130px; height: 15px; z-index: -1; bottom: -10px; left: -50px; background-color: b.........完整代码请登录后点击上方下载按钮下载查看
网友评论0