mdui实现手机端移动端选项卡切换效果代码
代码语言:html
所属分类:选项卡
代码描述:mdui实现手机端移动端选项卡切换效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/mdui.min.css"> </head> <body class="mdui-theme-primary-indigo mdui-theme-accent-pink "> <div class="mdui-appbar mdui-appbar-fixed"> <div class="mdui-toolbar mdui-color-indigo"> <a href="javascript:;" class="mdui-btn mdui-btn-icon"><i class="mdui-icon material-icons">menu</i></a> <a href="javascript:;" class="mdui-typo-title">Title</a> <div class="mdui-toolbar-spacer"></div> <a href="javascript:;" class="mdui-btn mdui-btn-icon"><i class="mdui-icon material-icons">search</i></a> <a href="javascript:;" class="mdui-btn mdui-btn-icon"><i class="mdui-icon material-icons">refresh</i></a> <a href="javascript:;" class="mdui-btn mdui-btn-icon"><i class="mdui-icon material-icons">more_vert</i></a> </div> <div class="mdui-tab mdui-color-indigo" mdui-tab> <a href="#tab1" class="mdui-ripple mdui-ripple-white">web</a> <a href="#tab2" class="mdui-ripple mdui-ripple-white">shopping</a> <a href="#tab3" class="mdui-ripple mdui-ripple-white">videos</a> </div> </div> <div class="mdui-container-fluid"> <div id="tab1"> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> <p>tab 1</p> &l.........完整代码请登录后点击上方下载按钮下载查看
网友评论0