div+css实现圈圈波纹涟漪动画效果代码
代码语言:html
所属分类:动画
代码描述:div+css实现圈圈波纹涟漪动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> :root { --size: 500px; --duration: 4s; } html,body { margin: 0; padding: 0; } body { background-color: #1a1a1a; display: flex; position: relative; height: 100vh; justify-content: center; align-items: center; } .container { /* background-color: #2a2a2a; */ width: var(--size); height: var(--size); display: flex; justify-content: center; align-items: center; } .circle { width: 10px; height: 10px; border: 3px solid white; border-radius: 100%; position: absolute; animation: waves infinite var(-.........完整代码请登录后点击上方下载按钮下载查看
网友评论0