酷炫菜单导航特效
代码语言:html
所属分类:菜单导航
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> -Tab Bar Animation</title>
<link href="https://fonts.googleapis.com/css?family=Poppins:400&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* Variables */
/* Reset */
*, *::after, *::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Generic */
body {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Poppins', sans-serif;
background: #004FF0;
user-select: none;
}
a {
font-size: 9px;
font-weight: bold;
text-decoration: none;
color: #004FF0;
letter-spacing: .25px;
}
/**/
#active-1,
#active-2,
#active-3 {
position: absolute;
bottom: -22px;
left: -100px;
height: 30px;
width: 30px;
background: #004FF0;
border-radius: 50%;
transition: .5s ease-out;
}
#active-2 {
transition-delay: .02s;
}
#active-3 {
transition-delay: .04s;
}
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0