<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<style>
*{
margin:0;padding:0;
}
.wrapper{
height: 30px;
background-color: #123;
}
.content{
margin: 0 auto;
width:1200px;
height: 30px;
background-color: #f40;
}
</style>
<body>
<div class="wrapper">
<div class="content"></div>
</div>
</body>
</html>
淘宝顶部header的居中布局
猜你喜欢
转载自blog.csdn.net/u011280778/article/details/94176790
今日推荐
周排行