基于html5写一个简单的引导页
<!DOCTYPE html>
<html>
<head>
<title>简单引导页</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
body {
background-color: #f5f5f5;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 50px;
text-align: center;
}
h1 {
font-size: 48px;
margin-bottom: 30px;
}
h2 {
font-size: 36px;
margin-bottom: 20px;
}
p {
font-size: 24px;
line-height: 1.5;
margin-bottom: 20px;
}
button {
background-color: #4CAF50;
border: none;
color: white;
font-size: 24px;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #3e8e41;
}
</style>
</head>
<body>
<div class="container">
<h1>欢迎来到我的网站</h1>
<h2>简单引导页</h2>
<p>这是一个简单的引导页,用来向访问者介绍我的网站,让他们更好地了解我的服务。</p>
<button>进入网站</button>
</div>
</body>
</html>
原文地址: https://www.cveoy.top/t/topic/bDV8 著作权归作者所有。请勿转载和采集!