console
<!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>个人注册</title>
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/register.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha512-SfTiTlX6kk+qitfevl/7LibUOeJWlt9rbyDn92a1DqWOw9vWG2MFoays0sgObmWazO5BQPiFucnnEAjpAB+/Sw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<div class="w">
<header>
<div class="logo">
<a href="https://jsrun.net/xgcKp" title="品优购商城">
<img src="http://ciweipaci.gitee.io/best-buy/images/logo.png" alt="">
</a>
</div>
</header>
<div class="registerarea">
<h3>
<div class="area_left">注册新用户</div>
<div class="login">
<p>我有个账户,去</p>
<a href="#" class="style_red">登陆</a>
</div>
</h3>
</div>
<footer>底部区域</footer>
</div>
</body>
</html>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
em,
i {
font-style: normal;
}
li {
list-style: none;
}
img {
border: 0;
vertical-align: middle;
}
button {
cursor: pointer;
}
a {
color: #666;
text-decoration: none;
}
button,
input {
font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB,
"\5B8B\4F53", sans-serif;
border: 0;
outline: none;
}
body {
-webkit-font-smoothing: antialiased;
background-color: #fff;
font: 12px/1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB,
"\5B8B\4F53", sans-serif;
color: #666;
}
.hide,
.none {
display: none;
}
.clearfix:after {
visibility: hidden;
clear: both;
display: block;
content: ".";
height: 0;
}
.clearfix {
*zoom: 1;
}
.w {
width: 1200px;
margin: 0 auto;
}
.style_red {
color: #c81523;
}
header {
height: 84px;
border-bottom: 2px solid #c81523;
}
.logo {
padding-top: 18px;
}
.registerarea {
height: 522px;
margin-top: 20px;
border: 1px solid #ccc;
}
.registerarea h3 {
height: 42px;
line-height: 42px;
padding: 0 10px;
border-bottom: 1px solid #ccc;
background-color: #ececec;
font-size: 18px;
font-weight: 400;
}
.area_left {
float: left;
}
.login {
float: right;
font-size: 14px;
}
.login p {
float: left;
}