css实现一个黑色无底洞穿越动画效果代码
代码语言:html
所属分类:动画
代码描述:css实现一个黑色无底洞穿越动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> html, body { overflow: hidden; background: #111; } .hole { position: absolute; top: 50%; left: 50%; z-index: 2; } i { display: block; position: absolute; width: 140px; height: 140px; left: -70px; top: -70px; border-radius: 140px; opacity: 0; animation-name: scale; animation-duration: 3s; animation-iteration-count: infinite; animation-timing-function: linear; } i:nth-child(1) { animation-delay: 0.3s; } i:nth-child(2) { animation-delay: 0.6s; } i:nth-child(3) { animation-delay: 0.9s; } i:nth-child(4) { animation-delay: 1.2s; } i:nth-child(5) { animation-delay: 1.5s; } i:nth-child(6) { animation-delay: 1.8s; } i:n.........完整代码请登录后点击上方下载按钮下载查看
网友评论0