61,112
社区成员
发帖
与我相关
我的任务
分享
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title> 页面名称 </title>
<style type="text/css">
html,body {
margin: 0;
padding: 0;
height: 100%;
}
body {
background: url("83.png") no-repeat center center;
background-size: cover;
}
div {
background-color: #99f;
width: 400px;
height: 200px;
position: fixed;
left: calc(50% - 200px);
top: calc(50% - 100px);
}
</style>
</head>
<body>
<div>登录框</div>
</body>
</html>