后室层级文档简易版源代码
开头
本文主要分享如何创建一个后室层级文档,将分为两个部分来讲述:
- 源代码
- 代码讲解
源代码
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Level S-0 - The Saferoom 1.0 版本</title>
<style>
body {
margin: 0;
}
.centent{
background-color: rgb(252, 235, 210);
}
.centent-header{
background-color: #933636;
text-align: center;
}
.image{
text-align: center;
}
.main-centent{
max-width: 650px;
margin: 30px auto;
padding: 15px;
line-height: 1.7;
background-color: #f1f1f1;
}
.image-text{
background-color: #ffffff;
max-width: 650px;
text-align: center;
}
.bottom-text{
text-align: center;
}
.bottom-centent{
text-align: center;
background-color: #933636;
}
a {
color: rgb(243, 66, 66);
text-decoration: none;
}
.text-title{
text-align: left;
}
</style>
</head>
<body>
<div class="centent">
<div class="centent-header">
<br><h1>The Saferooms</h1><h2>“安全”室</h2><br>
</div>
<div class="main-centent">
<div class="text-title">
<h1><p>Level S-0