<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./iconfont/iconfont.css">
<style>
*{
margin: 0;padding: 0;}
ul{
list-style: none;}
a{
text-decoration: none;color:#333333;}
img{
display: block;}
h1,h2,h3{
font-size:16px; font-weight: normal;}
html,body{
font-family: Arial; height:100%; overflow-y: hidden;}
.l{
float: left;}
.r{
float: right;}
.clear:after{
content:""; display: block; clear:both;}
.header{
height:80px;background-color: #018ffb;border-top:5px #424147 solid;}
.header .header-bg h1{
margin:19px 14px 0 20px;}
.header .header-bg h2{
color:white; font-size:24px; line-height: 25px; margin-top: 28px;}
.header ul li {
float:left;line-height:80px;;color:#FFFFFF;margin-right: 32px;}
.header ul li .iconwode{
font-size: 24px;position: relative;top:2px;left:-10px;float:left;}
.header ul .li1{
position: relative;top:-2px;}
.header ul li a{
color:#FFFFFF;}
.left{
width:200px;height:calc(100% - 85px);background-color: #424147;}
.left ul{
text-align: center;}
.left li{
height:145px;border-bottom: 1px #3a393e solid; border-top:1px #49484e solid;}
.left li.active a{
color:white;background:#4e4d53;}
.left li a{
color:#9a999e;width:100%; height:100%;box-sizing: border-box;display:block; padding-top:35px; }
.left li i{
font-size:40px;}
.left li p{
margin-top: 15px;}
.main{
overflow: hidden; height:calc(100% - 85px - 50px);}
.main .main-content{
height:100%; overflow: auto;}
.main .main-onecontent .text {
margin:21px 0 0 22px; color:#333333;}
.main .main-onecontent .text h2{
font-size:24px; line-height: 25px;}
.main .main-onecontent .img{
width:200px; height:149px; margin: 20px 20px 0 0;}
.main .main-twocontent{
width:100%; margin-top:20px;}
.main .main-twocontent .sige_btns{
height:54px; background:#f1f9fc; border-top:1px #e0eaef solid; border-bottom: 1px #dbe7ed solid;}
.main .main-twocontent .sige_btns ul{
margin:14px 0 0 20px;}
.main .main-twocontent .sige_btns ul li{
float:left; width:108px; height:39px; border:1px #dbe7ed solid; border-bottom: none; background: #fbfeff; color:#666666; text-align: center; line-height: 39px; margin-right:12px; border-radius: 5px 5px 0 0; cursor: pointer;}
.main .main-twocontent .sige_btns .active{
color:white; background:#018ffb; position: relative;}
.main .main-twocontent .sige_btns .active:after{
content:""; display: block; position: absolute; width:11px; height:6px; background:url('./images/arrow.png') no-repeat; bottom:-6px; left:50%; margin-left:-6px;}
.main .main-threecontent{
margin:100px 20px 0 20px;}
.main .main-threecontent>div{
display: none;}
.main .main-threecontent>div.show{
display: block;}
.main .main-threecontent .zl_upload1 , .main .main-threecontent .zl_upload2{
width:110px; height:32px; line-height: 32px; text-align: center; font-size:14px; color:white; border-radius: 5px; cursor: pointer;}
.main .main-threecontent .zl_upload1 input , .main .main-threecontent .zl_upload2 input{
display: none;}
.main .main-threecontent .zl_upload1 label , .main .main-threecontent .zl_upload2 label{
cursor: pointer;}
.main .main-threecontent .zl_upload1{
background:#5FD15C;}
.main .main-threecontent .zl_upload2{
background:#34C1DA; margin-left:20px;}
.main .main-threecontent .iconshangchuan1{
font-size:12px; position: relative; top:-1px;}
.main .main-threecontent .zl_search{
width:210px; height:30px; border:1px #dbe7ed solid; border-radius: 5px; overflow: hidden;}
.main .main-threecontent .zl_search input{
border:none; width:177px; height:100%; color:#999999; font-size:14px; text-indent: 9px; position: relative; top:-3px; outline: none;}
.main .main-threecontent .zl_search button{
width:32px; height:32px; border:none; border-left:1px #dbe7ed solid; background-image: linear-gradient(#FCFDFD , #F1F9FC); cursor: pointer;}
.main .main-threecontent .zl_search i{
font-size:18px; font-weight: bold; color:#A1C6D4;}
.main .main-threecontent .zl_table{
clear:both; width:100%; border:1px #dbe7ed solid; font-size:12px; border-collapse: collapse; position: relative; top:20px;}
.main .main-threecontent .zl_table tr{
height:32px; border-bottom: 1px #e7eff3 solid;}
.main .main-threecontent .zl_table tr:hover{
background:#f1f9fc;}
.main .main-threecontent .zl_table th{
border-right:1px #dbe7ed solid; color:#666666; font-weight: normal; text-align: left; text-indent:12px; background:#f1f9fc
正达管理后台首页的粗糙实现(练习)
最新推荐文章于 2020-12-14 21:19:34 发布
本文记录了使用HTML和CSS进行正达管理后台首页的粗糙实现过程,主要涉及前端布局和样式设计的基础实践。
摘要由CSDN通过智能技术生成