css实现全屏悬浮动画视觉特效导航效果
代码语言:html
所属分类:菜单导航
代码描述:css实现全屏悬浮动画视觉特效导航效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css2?family=Bungee&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
height: 100vh;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 1fr;
}
.background-one {
background-color: #151515;
}
.background-two {
background-color: #151515;
}
.background-three {
background-color: #151515;
}
.link-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
position: relative;
z-index: 0;
}
a {
font-family: "Bungee", cursive;
font-size: 2.5em;
}
.link-one {
color: #53d9d1;
transition: color 1s cubic-bezier(0.32, 0, 0.67, 0);
line-height: 1em;
}
.link-one:hover.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0