jquery+css实现后台iframe多tab选项卡菜单效果代码

代码语言:html

所属分类:菜单导航

代码描述:jquery+css实现后台iframe多tab选项卡菜单效果代码

代码标签: jquery css 后台 iframe tab 选项卡 菜单

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
<style>
body,html {
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px
}

::-webkit-scrollbar-track {
    border-radius: 4px
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #dddee0
}

::-webkit-scrollbar-thumb:hover {
    background-color: #c7c9cc
}

.content {
    display: block;
    width: 100%;
    height: 100%
}

.content .header_box {
    height: 70px;
    border-bottom: 1px solid #f1eaea;
    display: flex;
    align-items: center;
    padding: 0 10px
}

.content .header_box span {
    font-size: 22px;
    margin-left: 20px
}

.content .content_box {
    display: flex;
    flex-direction: row;
    height: 100%;
    overflow: hidden
}

.content_box .menu {
    width: 200px;
    border-right: 1px solid #f1eaea;
    overflow-y: scroll
}

.content_box .r_content {
    width: 100%;
    flex: 1
}

.content_box .r_content .tabmenu {
    height: 40px;
    width: 100%;
    border-bottom: 1px solid #f1eaea
}

.r_content .tabmenu a {
    height: 100%;
    display: inline-block;
    padding: 0 10px;
    text-decoration: none;
    color: #232a34;
    border-right: 1px solid #f1eaea;
    font-size: 15px
}

.r_content .tabmenu a .icon {
    border-radius: 10px;
    width: 8px;
    height: 8px;
    background-color: #dddee0;
    display: inline-block
}

.r_content .tabmenu a.selected .icon {
    background-color: #4db932
}

.r_content .tabmenu a span {
    line-height: 40px;
    margin: 0 14px 0 8px
}

.r_content .tabmenu a .close {
    background: url('//repo.bfw.wiki/bfwrepo/icon/64c4c3ca079eb.png') center center;
    display: inline-block;
    width: 10px;
    height: 10px
}

.r_content .iframe iframe {
    width: 100%;
    height: 100%
}

.menu ul {
    margin: 0;
    padding: 0
}

.menu ul li {
    list-style: none
}

.menu ul li dd,.menu ul li dd dl {
    margin: 0;
    p.........完整代码请登录后点击上方下载按钮下载查看

网友评论0