用html做一个动态感谢信
<!DOCTYPE html>
<html>
<head>
<title>感谢信</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
margin: 0;
padding: 0;
}
<pre><code>.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
color: #333;
text-align: center;
}
.message {
margin-top: 20px;
text-align: center;
}
.button {
display: inline-block;
background-color: #4CAF50;
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s ease;
}
.button:hover {
background-color: #45a049;
}
</code></pre>
</style>
</head>
<body>
<div class="container">
<h1>感谢信</h1>
<div class="message">
<p>亲爱的XXX,</p>
<p>非常感谢你的帮助和支持!你的慷慨和善意让我深感感激。</p>
<p>我要特别感谢你为我所做的一切。你的帮助对我来说意义重大,我将永远铭记在心。</p>
<p>谢谢!</p>
</div>
<div class="message">
<p>祝好,</p>
<p>XXX</p>
</div>
<div class="message">
<a href="#" class="button">回复</a>
</div>
</div>
</body>
</html
原文地址: https://www.cveoy.top/t/topic/iYUN 著作权归作者所有。请勿转载和采集!