css实现高斯模糊效果的tab导航条选项卡效果代码
代码语言:html
所属分类:菜单导航
代码描述:css实现高斯模糊效果的tab导航条选项卡效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
.tabs {
--background: #fff;
--width: 300px;
--height: 75px;
--border-radius: var(--height);
background: var(--background);
width: var(--width);
height: var(--height);
position: relative;
border-radius: var(--border-radius);
box-shadow: 0 10px 30px rgba(229, 232, 239, 0.2);
display: flex;
justify-content: space-around;
align-items: center;
padding: 0 15px;
box-sizing: border-box;
}
.tabs label {
-webkit-tap-highlight-color: transparent;
width: 28px;
height: 28px;
cursor: pointer;
position: relative;
display: flex;
justify-content: space-around;
align-items: center;
}
.tabs label .icon {
width: 100%;
height: 100%;
position: relative;
}
.tabs label .icon .detail,
.tabs label .icon .glass,
.tabs label .icon .background {
position: absolute;
width: 100%;
height: 100.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0