<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>母亲节快乐</title>
<style>
body {
background-color: #FFD1DC; /* 浅粉色背景 */
text-align: center;
font-family: "Microsoft YaHei", sans-serif; /* 微信兼容字体 */
padding: 20px;
margin: 0;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
}
.heart {
color: #FF0000; /* 红色爱心 */
font-size: 80px;
animation: heartbeat 1.2s infinite;
margin-bottom: 20px;
}
.message {
color: white;
font-size: 22px;
background-color: #FF0000;
padding: 12px 25px;
border-radius: 20px;
display: inline-block;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
@keyframes heartbeat {
0% { transform: scale(1); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
</style>
</head>
<body>
<div class="heart">❤️</div>
<div class="message">妈妈母亲节快乐!!!</div>
</body>
</html>