ZCloudApi - 简洁美观的圆角 HTML 信息页
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ZCloudApi</title>
<style>
body {
background-image: url("https://www.dmoe.cc/random.php");
background-size: cover;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
<p>.container {
max-width: 400px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
text-align: center;
}</p>
<p>h1 {
font-size: 24px;
margin-bottom: 20px;
}</p>
<p>img {
width: 100px;
height: 100px;
border-radius: 50%;
}</p>
<p>.button {
display: inline-block;
padding: 10px 20px;
background-color: #4CAF50;
color: #fff;
text-decoration: none;
border-radius: 5px;
margin-bottom: 10px;
}</p>
<p>.button:hover {
background-color: #45a049;
}</p>
<p>.info {
margin-bottom: 20px;
}</p>
<p>footer {
margin-top: 20px;
text-align: right;
}</p>
<p>footer a {
text-decoration: none;
color: #000;
}
</style></p>
</head>
<body>
<div class="container">
<h1>ZCloudApi</h1>
<img src="https://ztsin.cn/cavatar.jpg" alt="ZCloudApi Logo">
<div class="button">
<a href="#button1">按钮1</a>
</div>
<div class="info">
<p>按钮1的信息栏</p>
</div>
<div class="button">
<a href="#button2">按钮2</a>
</div>
<div class="info">
<p>按钮2的信息栏</p>
</div>
<div class="button">
<a href="#button3">按钮3</a>
</div>
<div class="info">
<p>按钮3的信息栏</p>
</div>
<footer>
<a href="https://ztsin.cn" target="_blank">Z_Tsin</a>
</footer>
</div>
</body>
</html>
原文地址: https://www.cveoy.top/t/topic/pRcH 著作权归作者所有。请勿转载和采集!