<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<style>
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.header{
width: 1226px;
height: 100px;
background-color: #b0b0b0;
position: relative;
}
.site-topbar {
width: 1226px;
height: 40px;
position: relative;
background-color: black;
}
.topbar-nav{
width: 769.267px;
float: left;
height: 40px;
line-height: 40px;
}
a{
font-size: 12px;
line-height: 40px;
color: #b0b0b0;
display:inline-block;
}
.sep{
width: 3.23px;
height: 16px;
margin: 0px 0.3em;
}
.topbar-info{
width: 142.47px;
height: 40px;
position: absolute;
float: right;
line-height: 40px;
background-color: #b0b0b0;
right:140px;
}
.topbar-cart{
width: 120px;
height: 40px;
position: absolute;
display: block;
line-height: 40px;
text-align: center;
color: #b0b0b0;
background: green;
right:0;
}
.site-header{
position: relative;
width: 1226px;
height: 88px;
background-color: white;
}
.container{
position: relative;
width: 1226px;
margin-right: auto;
margin-left: auto;
}
.header-loge{
position: absolute;
width: 56px;
height: 56px;
background-color: orangered;
top:22px;
}
.header-nav{
width: 1100px;
height: 88px;
}
.nav-list{
position: absolute;
left:60px;
float: left;
width: 850px;
height: 88px;
margin: 0;
padding: 12px 0 0 30px;
list-style-type: none;
background-color:blanchedalmond;
font-size:16px;
display: flex;
justify-content: space-between;
}
.nav-list0{
position: relative;
float: left;
width: 127px;
padding-right: 15px;
}
.nav-list1{
position: relative;
display: block;
width: 88px;
padding: 26px 10px 38px 10px;
}
.header-search{
position: absolute;
top: 0;
border: 1px solid #e0e0e0;
outline: 0;
right: 51px;
z-index: 1;
width: 223px;
height: 80px;
padding: 0 10px;
font-size: 14px;
line-height: 48px;
}
.home-a{
position: relative;
margin-bottom: 26px;
width: 1226px;
height: 644px;
}
.home-big{
position: relative;
height: 460px;
overflow: hidden;
width: 1226px;
height: 460px;
background-color: burlywood;
}
.home-big-left{
position: absolute;
width: 234px;
height: 420px;
background-color: brown;
}
.home-big-right{
position: absolute;
width: 992px;
height: 460px;
background-color:darkkhaki;
left: 234px;
}
.b-u-lefe-list{
width: 234px;
height: 460px;
padding:20px 0;
background-color: chocolate;
}
.b-left-list{
width: 234px;
height: 42px;
padding: 0 0 0 30px ;
}
.home-small{
position: relative;
margin-top: 14px;
width: 1226px;
height: 170px;
background-color: aqua;
}
.home-small-left{
position: absolute;
width: 228px;
height: 164px;
padding: 3px;
background-color: chartreuse;
}
.s-u-left-list{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
text-align: center;
}
.s-left-list{
width: 70px;
height: 82px;
padding-top: 18px;
list-style: none;
list-style-type: style none;
}
.home-small-right{
position: absolute;
width: 978px;
height: 170px;
background-color: chartreuse;
right: 0;
}
.s-u-right-list{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
text-align: center;
}
.s-right-list{
width: 316px;
height: 170px;
list-style: none;
list-style-type: style none;
}
</style>
<body>
<div class="header">
<div class="site-topbar">
<div class="contatner">
<div class="topbar-nav">
<a href="#">XXXX</a>
<span class="sep">|</span>
<a href="#">XXXX</a>
<span class="sep">|</span>
<a href="#">XXXXOS</a>
<span class="sep">|</span>
<a href="#">IOT</a>
<span class="sep">|</span>
<a href="#">XXX</a>
<span class="sep">|</span>
<a href="#">XXXX</a>
<span class="sep">|</span>
<a href="#">XX</a>
<span class="sep">|</span>
<a href="#">XXXXXX</a>
<span class="sep">|</span>
<a href="#">XXXX</a>
<span class="sep">|</span>
<a href="#">XXXX</a>
<span class="sep">|</span>
<a href="#">XXxxx</a>
<span class="sep">|</span>
<a href="#">XXXX</a>
<span class="sep">|</span>
</div>
<div class="topbar-info"></div>
<div class="topbar-cart"></div>
</div>
</div>
<div class="site-header">
<div class="container">
<div class="header-loge"></div>
<div class="header-nav">
<ul class="nav-list">
<li class="nav-list0"></li>
<li class="nav-list1">XXX</li>
<li class="nav-list1">XXX</li>
<li class="nav-list1">XXX</li>
<li class="nav-list1">XXX</li>
<li class="nav-list1">XXX</li>
<li class="nav-list1">XXX</li>
<li class="nav-list1">XXX</li>
<li class="nav-list1">XXX</li>
<li class="nav-list1">XXX</li>
</ul>
</div>
<div class="header-search">
<input type="search">
<input type="submit">
</div>
</div>
</div>
<div class="home-a">
<div class="home-big">
<div class="home-big-left">
<ul class="b-u-lefe-list">
<li class="b-left-list">XXX</li>
<li class="b-left-list">XXX</li>
<li class="b-left-list">XXX</li>
<li class="b-left-list">XXX</li>
<li class="b-left-list">XXX</li>
<li class="b-left-list">XXX</li>
<li class="b-left-list">XXX</li>
<li class="b-left-list">XXX</li>
<li class="b-left-list">XXX</li>
<li class="b-left-list">XXX</li>
</ul>
</div>
<div class="home-big-right"></div>
</div>
<div class="home-small">
<div class="home-small-left">
<ul class="s-u-left-list">
<li class="s-left-list">XXX</li>
<li class="s-left-list">XXX</li>
<li class="s-left-list">XXX</li>
<li class="s-left-list">XXX</li>
<li class="s-left-list">XXX</li>
<li class="s-left-list">XXX</li>
</ul>
</div>
<div class="home-small-right">
<ul class="s-u-right-list">
<li class="s-right-list">XXX</li>
<li class="s-right-list">XXX</li>
<li class="s-right-list">XXX</li>
</ul>
</div>
</div>
</div>
</body>
</html>
web前端,网页框架训练
最新推荐文章于 2024-09-04 19:23:53 发布