div+css实现点状8字摆动动画效果代码
代码语言:html
所属分类:动画
代码描述:div+css实现点状8字摆动动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body {background-color: #345995;} .center { margin-top: 100px; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; } .circle, .circle2 { position: relative; width: 200px; height: 200px; border-radius: 50%; display: inline-block; } .dot, .dot2 { position: absolute; width: 10px; height: 10px; background-color: #03CEA4; border-radius: 50%; animation-duration: 3s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; } /* First circle */ .dot { animation-name: moveParticle; } /* Second circle */.........完整代码请登录后点击上方下载按钮下载查看
网友评论0