网站首页 >> 源码 >> 正文
标题

新出快乐马年大吉祝福语

逍遥   02月15日 21:15   51℃   0
内容

新出快乐马年大吉祝福语,image.png,第1张

<!DOCTYPE html> <html> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>马年大吉 - 新春祝福语</title>     <style>         /* 全局样式重置 */         * {             margin: 0;             padding: 0;             box-sizing: border-box;             font-family: "Microsoft YaHei", 微软雅黑, sans-serif;         }         /* 页面背景与整体布局 */         body {             background-color: #fdf2e9;             background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23e63946' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");             padding: 20px;             line-height: 1.6;         }         /* 页面标题样式 */         .header {             text-align: center;             margin-bottom: 40px;             padding: 20px 0;             background-color: #e63946;             color: #fff;             border-radius: 10px;             box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);             position: relative;             overflow: hidden;         }         .header h1 {             font-size: 2.5rem;             margin-bottom: 10px;             text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);             animation: fadeInDown 1s ease;         }         .header p {             font-size: 1.2rem;             opacity: 0.9;             animation: fadeInUp 1s ease 0.3s both;         }         /* 装饰元素 - 小马图标 */         .header::before {             content: "🐴";             font-size: 3rem;             position: absolute;             left: 20px;             top: 50%;             transform: translateY(-50%);             animation: bounce 2s infinite;         }         .header::after {             content: "🧧";             font-size: 3rem;             position: absolute;             right: 20px;             top: 50%;             transform: translateY(-50%);             animation: bounce 2s infinite 0.5s;         }         /* 祝福语分类容器 */         .blessing-container {             max-width: 1200px;             margin: 0 auto;             display: grid;             grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));             gap: 25px;         }         /* 祝福语卡片样式 */         .blessing-card {             background-color: #fff;             border-radius: 12px;             padding: 25px;             box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);             transition: all 0.3s ease;             border-top: 5px solid #e63946;         }         .blessing-card:hover {             transform: translateY(-5px);             box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);         }         .blessing-card h2 {             color: #e63946;             margin-bottom: 15px;             padding-bottom: 10px;             border-bottom: 2px dashed #f8c5c8;             font-size: 1.5rem;         }         .blessing-card ul {             list-style: none;         }         .blessing-card li {             padding: 10px 0;             border-bottom: 1px solid #f5f5f5;             color: #333;             font-size: 1.1rem;             animation: fadeIn 0.8s ease;         }         .blessing-card li:last-child {             border-bottom: none;         }         /* 复制按钮样式 */         .copy-btn {             margin-top: 15px;             padding: 8px 15px;             background-color: #e63946;             color: #fff;             border: none;             border-radius: 6px;             cursor: pointer;             font-size: 0.9rem;             transition: background-color 0.3s ease;         }         .copy-btn:hover {             background-color: #d62828;         }         /* 响应式调整 */         @media (max-width: 768px) {             .header h1 {                 font-size: 2rem;             }             .blessing-container {                 grid-template-columns: 1fr;             }         }         /* 动画效果 */         @keyframes fadeInDown {             from {                 opacity: 0;                 transform: translateY(-20px);             }             to {                 opacity: 1;                 transform: translateY(0);             }         }         @keyframes fadeInUp {             from {                 opacity: 0;                 transform: translateY(20px);             }             to {                 opacity: 1;                 transform: translateY(0);             }         }         @keyframes fadeIn {             from {                 opacity: 0;             }             to {                 opacity: 1;             }         }         @keyframes bounce {             0%, 100% {                 transform: translateY(-50%);             }             50% {                 transform: translateY(-60%);             }         }         /* 提示框样式 */         .toast {             position: fixed;             bottom: 20px;             left: 50%;             transform: translateX(-50%);             background-color: #333;             color: #fff;             padding: 10px 20px;             border-radius: 5px;             opacity: 0;             transition: opacity 0.3s ease;             z-index: 9999;         }         .toast.show {             opacity: 1;         }     </style> </head> <body>     <!-- 页面头部 -->     <div>         <h1>马年大吉 新春快乐</h1>         <p>愿您龙马精神,一马平川,马到成功!</p>     </div>     <!-- 祝福语内容区域 -->     <div>         <!-- 通用温馨版 -->         <div>             <h2>通用温馨版</h2>             <ul>                 <li>马年到,福气绕!愿你龙马精神身体好,一马平川前程妙,策马奔腾日子俏,新春快乐,阖家幸福!</li>                 <li>新春启岁,马运亨通!愿新的一年,你扬鞭策马向未来,万事顺遂,平安喜乐,马年大吉!</li>                 <li>金鞍迎福,骏马报春!祝你马年行大运,财运如万马奔腾,好运如快马加鞭,生活蒸蒸日上!</li>             </ul>             <button onclick="copyBlessings(this)">复制本类祝福语</button>         </div>         <!-- 简洁大气版 -->         <div>             <h2>简洁大气版</h2>             <ul>                 <li>马年大吉,万事兴“马”!新春安康,顺遂无忧~</li>                 <li>策马迎春,万事胜意!愿马年皆得所愿,岁岁安澜。</li>                 <li>龙马呈祥,新春纳福!马年添喜,步步登高!</li>             </ul>             <button onclick="copyBlessings(this)">复制本类祝福语</button>         </div>         <!-- 趣味活泼版 -->         <div>             <h2>趣味活泼版</h2>             <ul>                 <li>马年到,打个“响鼻”送祝福!祝你吃好喝好没烦恼,策马“狂飙”赚钞票,新春快乐嗷~</li>                 <li>解锁马年好运buff!愿你一路“马”到成功,干啥都“马”上有,新年超有料!</li>                 <li>骑上好运小马,奔赴新春美好!祝你马年不emo,快乐不停歇,万事都“马”上搞定!</li>             </ul>             <button onclick="copyBlessings(this)">复制本类祝福语</button>         </div>         <!-- 商务正式版 -->         <div>             <h2>商务正式版</h2>             <ul>                 <li>值此马年新春,谨祝您及贵公司龙马精神,事业一马当先,发展马不停蹄,新岁大展宏图,财源广进!</li>                 <li>策马迎新岁,携手向新程!感谢一路相伴,祝您马年吉祥,生意兴隆,合作共赢,万事顺意!</li>             </ul>             <button onclick="copyBlessings(this)">复制本类祝福语</button>         </div>     </div>     <!-- 复制提示框 -->     <div id="toast">复制成功!</div>     <script>         // 复制祝福语函数         function copyBlessings(btn) {             // 获取当前卡片下的所有祝福语             const card = btn.parentElement;             const lis = card.querySelectorAll('li');             let text = '';             lis.forEach((li, index) => {                 text += `${index + 1}. ${li.textContent}\n`;             });             // 复制到剪贴板             navigator.clipboard.writeText(text).then(() => {                 // 显示提示框                 const toast = document.getElementById('toast');                 toast.classList.add('show');                 // 3秒后隐藏提示框                 setTimeout(() => {                     toast.classList.remove('show');                 }, 2000);             }).catch(err => {                 alert('复制失败,请手动复制!');                 console.error('复制失败:', err);             });         }         // 页面加载完成后给每个祝福语li添加延迟动画         document.addEventListener('DOMContentLoaded', () => {             const lis = document.querySelectorAll('.blessing-card li');             lis.forEach((li, index) => {                 li.style.animationDelay = `${index * 0.1}s`;             });         });     </script> </body> </html>


你可能想看: