gsap烟雾边框动画伸缩效果
代码语言:html
所属分类:动画
代码描述:gsap烟雾边框动画伸缩效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { background-color: #FFF; overflow: hidden; text-align:center; display: flex; align-items: center; justify-content: center; } body, html { height: 100%; width: 100%; margin: 0; padding: 0; } svg { width: 100%; height: 100%; visibility: hidden; } .bubbleCloud { stroke-width: 40px; stroke: #4ECDC4; } </style> </head> <body translate="no"> <svg viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg"> <defs> <g id="bubbles"> <circle cx="348.72" cy="273.45" r="30" /> <circle cx="416.45" cy="233.72" r="50" /> <circle cx="476.28" cy="267.34" r="40" /> <circle cx="372.41" cy="337.17" r="50" /> <circle cx="458.17" cy="344.41" r="40" /> <circle cx="400" cy="300" r="40" /> </g> <g id="bubblesBg"> <re.........完整代码请登录后点击上方下载按钮下载查看
网友评论0