gsap实现彩色线条穿梭动画效果代码
代码语言:html
所属分类:动画
代码描述:gsap实现彩色线条穿梭动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { background-color: #1d1d1d; overflow: hidden; } body, html { height: 100%; width: 100%; margin: 0; padding: 0; } svg { width: 100%; height: 100%; } line { stroke-width: 2px; } </style> </head> <body> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 600 600"> <g class="speedLines"> <line x1="0" y1="0" x2="0" y2="0" /> <line x1="0" y1="0" x2="0" y2="0" /> <line x1="0" y1="0" x2="0" y2="0" /> <line x1="0" y1="0" x2="0" y2="0" /> <line x1="0" y1="0" x2="0" y2="0" /> <line x1="0" y1="0" x2="0" y2="0" /> <line x1="0" y1="0" x2="0" y2="0" /> <line x1="0" y1="0" x2="0" y2="0" /> <line x1="0" y1="0" x2="0" y2="0" /> <line x1="0" y1="0" x2="0" y2="0" /> <line x1="0" y1="0" x2="0" y2="0" /> </g> </svg> <scri.........完整代码请登录后点击上方下载按钮下载查看
网友评论0