单站点引导页(主域名专用)
侧边栏壁纸
  • 累计撰写 7 篇文章
  • 累计收到 1 条评论

单站点引导页(主域名专用)

Ther
2026-06-08 / 0 评论 / 13 阅读 / 正在检测是否收录...
温馨提示:
本文最后更新于2026年06月14日,已超过45天没有更新,若内容或图片失效,请留言反馈。

单站点引导页(主域名专用),简洁大方,核心指向 blog 二级域名,适配电脑 / 手机,带交互效果,直接部署即可。

2026-06-14_02-37-59.png

部署 & 修改步骤
1.修改链接
https://blog.你的域名.com 替换成你真实的博客二级域名。

2.自定义文字
标题、介绍文案可按需修改;
底部小字也可以删除或改写。

3.部署
把文件命名为 index.html,上传到主域名网站根目录,访问主域名就会展示此页面。

纯白底 + 线条动效(极简科技风)

特点:干净白底,线条环绕动画、文字渐入,低调炫酷,风格百搭。

<!DOCTYPE html>
<html lang="zh-CN">
<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: system-ui, sans-serif;
        }

        body {
            min-height: 100vh;
            background: #fefefe;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .box {
            position: relative;
            padding: 70px 50px;
            text-align: center;
            max-width: 460px;
            width: 100%;
        }

        /* 旋转线条边框动画 */
        .box::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            border: 2px solid #333;
            border-radius: 20px;
            animation: rotate 8s linear infinite;
        }

        @keyframes rotate {
            0% { clip-path: inset(0 0 98% 0); }
            25% { clip-path: inset(0 98% 0 0); }
            50% { clip-path: inset(98% 0 0 0); }
            75% { clip-path: inset(0 0 0 98%); }
            100% { clip-path: inset(0 0 98% 0); }
        }

        .title {
            font-size: 26px;
            color: #222;
            margin-bottom: 16px;
            opacity: 0;
            animation: fadeIn 1s ease forwards 0.2s;
        }

        .desc {
            font-size: 15px;
            color: #555;
            line-height: 1.8;
            margin-bottom: 35px;
            opacity: 0;
            animation: fadeIn 1s ease forwards 0.4s;
        }

        .btn {
            display: inline-block;
            padding: 12px 38px;
            border: 2px solid #333;
            color: #333;
            text-decoration: none;
            border-radius: 50px;
            transition: all 0.3s;
            opacity: 0;
            animation: fadeIn 1s ease forwards 0.6s;
        }

        .btn:hover {
            background: #333;
            color: #fff;
        }

        @keyframes fadeIn {
            to { opacity: 1; }
        }
    </style>
</head>
<body>
    <div class="box">
        <h1 class="title">欢迎来到我的主页</h1>
        <p class="desc">这里是主域名引导页,我的随笔、笔记与生活分享都在独立博客中。</p>
        <!-- 替换域名 -->
        <a href="https://blog.你的域名.com" class="btn" target="_blank">前往博客</a>
    </div>
</body>
</html>

使用说明
修改代码里 href 后的地址,换成你的 blog 二级域名;
把文件命名为 index.html 上传到主域名根目录即可部署;

极简线条动画,风格低调干净。

0

评论 (0)

取消