html 後台頁面配置

來源:互聯網
上載者:User

標籤:initial   個人   padding   block   log   :hover   html   width   radius   

<!DOCTYPE html><html lang="en"><head><title></title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link href="css/style.css" rel="stylesheet"><style>body{margin:0;}.left{float:left;}.right{float:right;}.clear{clear:both;}.pg-header .header{margin: 0 auto;width:100%;min-width:1080px;height: 48px;background-color:#2a6496;line-height: 48px;color: white;}.pg-header .header .logo{font-size:16px;font-weight: 600;width: 200px;text-align: center;padding:0 20px;}.pg-header .header .user{width:150px;height: 48px;position: relative;}.pg-header .header .user-list{width:120px;background-color: grey;position: absolute;top:40px;right:80px;display:none;z-index: 10;}.pg-header .header .user-list a{display: block;}.pg-header .header .user a img{height: 32px;width: 32px;border-radius: 50%;padding: 0 5px;vertical-align: middle;}.pg-header .header:hover .user-list{display: block;
} .pg-content .left_content{ position: absolute; top:48px; left:0; bottom: 0; width:280px; background-color: grey; } .pg-content .right_content{ position: absolute; right:0; top:48px; bottom: 0px; left:285px; background-color: #eeeeee; overflow: auto; } .pg-content .right_content .right_text{ min-width: 780px; background-color: red; z-index: 9; }  </style> </head> <body> <div class=‘pg-header‘> <div class=‘header‘> <div class=‘logo left‘>部落格</div> <div class=‘user right‘><a><img src=‘head2.jpg‘/>howhy</a></div> <div class=‘user-list‘><a>個人中心</a><a>設定</a></div> </div> </div> <div class=‘pg-content‘> <div class=‘left_content‘></div> <div class=‘right_content‘> <div class=‘right_text‘> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <p>erwer</p> <div> </div> </div> <div class=‘pg-footer‘></div> </body></html>

html 後台頁面配置

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.