噪点动画效果
代码语言:html
所属分类:粒子
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> html, body { overflow: hidden; background: #000; padding: 0px; margin: 0px; } .aon { position: absolute; top: 0px; left: 0px; } .aon a { position: relative; display: inline-block; outline: none; margin: 0 0px; padding: 15px 10px; color: #fff; text-decoration: none; font-family: Cinzel; text-align: center; text-transform: uppercase; letter-spacing: 1px; font-weight: 400; text-shadow: 0 0 1px rgba(255, 255, 255, 0.3); font-size: 1em; } .aon a:focus::before, .aon a:hover::before { height: 6px; } .aon a:hover::before, .aon a:hover::after, .aon a:focus::before, .aon a:focus::after { opacity: 1; -webkit-transform: translateY(0px); -moz-transform: translateY(0px); transform: translateY(0px); } .aon a:hover span:last-child, .aon a:focus span:last-child { opacity: 1; -webkit-transform: translateY(0%); -moz-transform: translateY(0%); transform: translateY(0%); } .aon a span { color: #fff !important; } .aon a span:first-child { z-index: 2; display: block; font-weight: 300; } .aon a span:last-child { z-index: 1; display: block; padding: 8px 0 0 0; color: rgba(0, 0, 0, 0.4); text-shadow: none; text-transform: none; font-style: italic; font-size: 1.2em; font-family: Cinzel Decorative; font-weight: 600; opacity: 0; -webkit-transition: -webkit-transform 0.3s, opacity 0.3s; -moz-transition.........完整代码请登录后点击上方下载按钮下载查看
网友评论0