码迷,mamicode.com
首页 > Web开发 > 详细

css做的后台管理页面,不考虑ie8一下的

时间:2014-07-22 22:46:13      阅读:315      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   width   re   c   

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>盒子模型</title>
<style type="text/css">
* {
    margin:0;
    padding:0;
}
html, body {
    height:100%;
    width:100%;
    overflow:hidden;
}
.wrap {
    height:100%;
    width:100%;
    overflow:hidden;
    padding:110px 0 70px;
    box-sizing:border-box;
}
.head {
    height:100px;
    background:#933;
    width:100%;
    margin:-110px 0 10px;
}
.body {
    height:100%;
    overflow:hidden;
    line-height:30px;
}
.bar {
    width:280px;
    height:100%;
    background:#9CF;
    float:left;
    overflow:auto;
    padding:0 10px;
}
.con {
    margin-left:310px;
    background:#6F6;
    height:100%;
    overflow:auto;
    padding:0 10px;
}
.foot {
    height:60px;
    background:#099;
    width:100%;
    margin-top:10px;
}
</style>
</head>
<body>
<div class="wrap">
  <div class="head"></div>
  <div class="body">
    <div class="bar">
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
    </div>
    <div class="con">
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
      <p>asdasdas</p>
    </div>
  </div>
  <div class="foot"></div>
</div>
</body>
</html>

css做的后台管理页面,不考虑ie8一下的,布布扣,bubuko.com

css做的后台管理页面,不考虑ie8一下的

标签:style   blog   color   width   re   c   

原文地址:http://www.cnblogs.com/busicu/p/3859744.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!