首页 > 其他 > 详细

基本后台管理布局

时间:2018-01-28 23:01:53      阅读:223      评论:0      收藏:0      [点我收藏+]

页面html

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>首页</title>
    <link href="/Content/site.css" rel="stylesheet"/>
    <link href="/Content/themes/base/layout.css" rel="stylesheet"/>
</head>
<body>
    
<div class="ui-layout-header ui-bb">

</div>
<div class="ui-layout-wrapper">
    <div class="ui-layout-slide">

    </div>
    <div class="ui-layout-content">

    </div>
</div>
<div class="ui-layout-footer">

</div>
</body>
</html>

CSS

* {
    height: 100%;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    -moz-box-sizing: border-box; /* Firefox */
    -webkit-box-sizing: border-box; /* Safari */
}

.ui-layout-header {
    height: 50px;
    margin-bottom: -50px;
    position: relative;
}

.ui-layout-wrapper {
    padding-top: 50px;
    min-height: 100%;
    height: 100% !important;
    height: 100%;
    background-color: ActiveBorder;
    padding-bottom: -30px;
}

    .ui-layout-wrapper .ui-layout-slide {
        width: 220px;
        min-height: 100%;
        float: left;
        margin-right: 100%;
        background-color: aqua;
    }

    .ui-layout-wrapper .ui-layout-content {
        width: 100%;
    }

        .ui-layout-wrapper .ui-layout-content .ui-layout-incontent {
            margin-left: 220px;
            background-color: red;
        }

.ui-layout-footer {
    margin-top: -30px;
    height: 30px;
    background-color: red;
    position: relative;
    z-index: 100;
}

 

基本后台管理布局

原文:https://www.cnblogs.com/zbspace/p/8372670.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!