vue+swiper实现手机端移动端分类tab选项卡效果代码
代码语言:html
所属分类:选项卡
代码描述:vue+swiper实现手机端移动端分类tab选项卡效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="screen-orientation" content="portrait">
<meta name="full-screen" content="no">
<meta name="x5-orientation" content="portrait">
<meta name="x5-fullscreen" content="false">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no,viewport-fit=cover">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="format-detection" content="telephone=no">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/reset.min.css">
<style>
.content {
padding-top: 1.84rem;
}
header,
footer {
position: fixed;
right: 0;
left: 0;
height: 1.84rem;
line-height: 1.84rem;
text-align: center;
}
header {
top: 0;background-color: #efeeee;
}
footer {
bottom: 0;background-color: #efeeee;
}
.menu-category {
box-sizing: border-box;
position: fixed;
left: 0;
top: 1.76rem;
width: 4rem;
bottom: 1.84rem;
background: #f5f5f5;
z-index: 1;
}
.menu-category .nav-list {
height: 100%;
}
.menu-category .slide {
width: 4rem;
height: 2rem;
line-height: 2rem;
font-size: 0.6rem;
color: #333;
text-align: center;
}
.menu-category .sidehigh {
font-weight: 700;
color: #f85100;
background-color: #fff;
}
.menu-category .sidehigh:before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 0.12rem;
height: 2rem;
background: -webkit-linear-gradient(left, #f85100, #fe8645);
background: -o-linear-gradi.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0