帮我写一个简介美观的圆角html信息页有从上到下三个可跳转的按钮每个按钮下面有信息栏页面标题为ZCloudApi页面图标为httpsztsincncavatarjpg 。页脚右面要有友情链接文字为Z_Tsin跳转链接为httpsztsincn文字格式为utf-8页面背景为httpswwwdmoeccrandomphp
以下是一个简单的圆角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;
}
.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;
}
h1 {
font-size: 24px;
margin-bottom: 20px;
}
img {
width: 100px;
height: 100px;
border-radius: 50%;
}
.button {
display: inline-block;
padding: 10px 20px;
background-color: #4CAF50;
color: #fff;
text-decoration: none;
border-radius: 5px;
margin-bottom: 10px;
}
.button:hover {
background-color: #45a049;
}
.info {
margin-bottom: 20px;
}
footer {
margin-top: 20px;
text-align: right;
}
footer a {
text-decoration: none;
color: #000;
}
</style>
</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>
你可以将这段代码保存为一个.html文件,然后在浏览器中打开,即可看到一个具有上述要求的美观圆角HTML信息页
原文地址: https://www.cveoy.top/t/topic/h8pu 著作权归作者所有。请勿转载和采集!