鼠标悬浮霓虹灯点亮按钮效果
代码语言:html
所属分类:悬停
代码描述:鼠标悬浮霓虹灯点亮按钮效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css2?family=Questrial&display=swap");
/************************************************
1. BODY
************************************************/
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 100vh;
background-color: #050f1a;
font-family: "Questrial", Impact, sans-serif;
}
/************************************************
2. LIEN et BOUTON
************************************************/
a {
position: relative;
display: inline-block;
padding: 15px 30px;
color: #00fff6;
text-transform: uppercase;
letter-spacing: 3px;
text-decoration: none;
font-size: 30px;
overflow: hidden;
transition: 0.2s;
}
a:visited {
color: #00fff6;
}
a:hove.........完整代码请登录后点击上方下载按钮下载查看
网友评论0