Hongmu Notes
Home Language Notes A simple single page of the website can be used to introduce yourself, or it can be a single page for pure display.
Language Notes CSS Summary of pitfalls

A simple single page of the website can be used to introduce yourself, or it can be a single page for pure display.

A simple single page of the website can be used to introduce yourself, or it can be a single page for pure display.

Record this single page.

That is, a simple page.

20260815111137448-image

The implemented code is as follows:

<!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;
        }

        body {
            font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(145deg, #f6f0ea 0%, #e8dfd7 100%);
            padding: 20px;
        }

        .card {
            max-width: 700px;
            width: 100%;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 48px;
            padding: 50px 40px 40px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
            text-align: center;
            transition: transform 0.2s ease;
        }

        .card:hover {
            transform: translateY(-4px);
        }

        .logo {
            font-size: 56px;
            margin-bottom: 8px;
            letter-spacing: 2px;
        }

        h1 {
            font-size: 36px;
            font-weight: 700;
            color: #2c1810;
            letter-spacing: 4px;
            margin-bottom: 6px;
        }

        .subtitle {
            font-size: 16px;
            color: #7a5f4e;
            letter-spacing: 6px;
            font-weight: 300;
            margin-bottom: 28px;
        }

        .domain {
            display: inline-block;
            background: #f0e8e0;
            padding: 8px 24px;
            border-radius: 40px;
            font-size: 18px;
            font-weight: 500;
            color: #3d291f;
            letter-spacing: 2px;
            margin-bottom: 30px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.04);
        }

        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px 20px;
            background: #f8f3ee;
            padding: 20px 24px;
            border-radius: 28px;
            margin-bottom: 32px;
            text-align: left;
            font-size: 14px;
            color: #3d291f;
        }

        .info-grid .label {
            color: #8a7364;
            font-weight: 400;
            letter-spacing: 1px;
        }
        .info-grid .value {
            font-weight: 500;
            word-break: break-all;
        }
        .info-grid .full-width {
            grid-column: 1 / -1;
        }

        .beian {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid rgba(60, 40, 30, 0.12);
            font-size: 14px;
        }
        .beian a {
            color: #6b4f3c;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
            letter-spacing: 1px;
        }
        .beian a:hover {
            color: #2c1810;
            text-decoration: underline;
        }
        .beian .extra {
            display: block;
            margin-top: 6px;
            font-size: 12px;
            color: #b19b8b;
            letter-spacing: 2px;
        }

        .footer {
            margin-top: 28px;
            font-size: 13px;
            color: #b8a494;
        }

        /* 响应式调整 */
        @media (max-width: 480px) {
            .card {
                padding: 30px 20px 24px;
                border-radius: 32px;
            }
            h1 {
                font-size: 28px;
            }
            .info-grid {
                grid-template-columns: 1fr;
                gap: 8px;
            }
            .domain {
                font-size: 16px;
                padding: 6px 18px;
            }
        }
    </style>
</head>
<body>
    <div class="card">
        <!-- 装饰图标(可替换) -->
        <div class="logo"></div>
        <h1>爱酒界</h1>
        <div class="subtitle">· 品味时光 ·</div>
        <div class="domain"> i9j.cn</div>

        <!-- 备案信息展示 -->
        <div class="info-grid">
            <span class="label">备案号</span>
            <span class="value">蜀ICP备2020025518号-12</span>
            <span class="label">首页URL</span>
            <span class="value">www.i9j.cn</span>
            <span class="label">服务类型</span>
            <span class="value">网站应用服务</span>
            <span class="label full-width">内容分类</span>
            <span class="value full-width" style="font-weight:400;">其他 · 个人网站</span>
        </div>

        <!-- 备案号链接(必须可点击,指向工信部) -->
        <div class="beian">
            <a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener noreferrer">
                蜀ICP备2020025518号-12
            </a>
            <span class="extra">工业和信息化部备案管理系统</span>
        </div>

        <div class="footer">网站正在建设中,敬请期待</div>
    </div>
</body>
</html>

 

微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

css positioning

css positioning Language Notes CSS

Syntax: position: static | relative | absolute | fixed | center | page | sticky Default value: static Applies to: All elements except the display attribute defined as table-column-group | table-column Inheritance: No Animation: No...
👁 119
css vh and vw adaptive

css vh and vw adaptive Language Notes CSS

In the mobile terminal, REM is used to change the root HTML, and the mobile terminal adaptation is realized through a piece of JS. This article uses pure CSS viewport units to self-adapt. Although the current compatibility is not fully acceptable, it does not prevent you from recognizing the power of vw and vh. The implementation of responsive layout relies on media queries (Media Queries). Select the width size of mainstream devices as breakpoints to target...
👁 356

Recommended reading

(PC+WAP) blue atmosphere building lighting project pbootcms website template lighting engineering company website source code download 0109

(PC+WAP) blue atmosphere building lighting project pbootcms website template lighting engineering company website source code download 0109 Practical Collection pbootcms Template

This set of PbootCMS templates adopts a blue style and is suitable for building lighting projects and lighting engineering companies. It supports PC and mobile terminals. The design style is modern and bright, which can well display lighting project cases and lighting products. It helps lighting engineering companies demonstrate their technical strength online and obtain more municipal and commercial projects. Template display Installation instructions Website backend:/admin.php Account: admin Password: admin Unzip...
👁 57
Responsive Building Materials – High-End Tile-Backed Dressing Cabinet Website Template 0886

Responsive Building Materials – High-End Tile-Backed Dressing Cabinet Website Template 0886 Practical Collection Yiyou template

An eyouCMS responsive website template designed for the building materials, high-end tile, and bathroom cabinet industries. Its sophisticated and elegant design is ideal for showcasing tile products, bathroom cabinets, spatial designs, and brand identity. This template helps building materials brands enhance their online presence and attract both designers and homeowners. Template Demo | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for eyouCMS...
👁 38
Marketing-oriented chemical phosphorus raw material website template 0140

Marketing-oriented chemical phosphorus raw material website template 0140 Practical Collection Yiyou template

An EyouCMS website template designed for marketing-oriented chemical phosphorus raw material enterprises. Its professional industrial design style is ideal for showcasing phosphorus chemical products, raw material technologies, and industry applications. This template helps chemical companies present their products online and attract both agricultural and industrial customers. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS (Ey...
👁 41
(Adaptive mobile version) PBootCMS website template for business registration agencies; Download source code for financial accounting websites – 0589

(Adaptive mobile version) PBootCMS website template for business registration agencies; Download source code for financial accounting websites – 0589 Practical Collection pbootcms Template

A PbootCMS website template designed for business registration and corporate setup services, compatible with both PC and WAP devices. Its professional and sophisticated design makes it ideal for accounting firms and business registration agencies to showcase their registration processes, financial and tax services, and successful case studies. It helps business service providers attract startup clients online. Template Overview | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5....
👁 50
Smart Digital Mining Drilling Rig Equipment Website Template 0628

Smart Digital Mining Drilling Rig Equipment Website Template 0628 Practical Collection Yiyou template

An eYouCMS website template designed for enterprises specializing in smart digital mining operations and drilling rig equipment. Its modern, technology-driven design is ideal for showcasing intelligent drilling rigs, mining equipment products, and technical solutions. This template enables mining machinery companies to present their products online and attract potential mining industry clients. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for eYouCMS | eYouCMS...
👁 43