一款跳转警告HTML单页模板源码

一款跳转警告HTML单页模板,源码由HTML+CSS+JS组成,记事本打开源码文件可以进行内容文字之类的修改,双击html文件可以本地运行效果,也可以上传到服务器里面,重定向这个界面

代码如下

html 复制代码
<!DOCTYPE html>
<html>
<!--QQ沐编程 www.qqmu.com 学习QQ群:290987565  域名抢注 33210.jm.cn -->
<head>
    <title>Warning!</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <style>

        * {
            box-sizing: border-box;
        }

        body {
            background: #F4696A;
            margin: 0;
        }

        body div {
            position: absolute;
            top: calc(50% - 207px);
            width: 100%;
        }

        body div i {
            font-style: normal;
            width: 200px;
            height: 200px;
            line-height: 200px;
            border-radius: 100%;
            display: block;
            margin: 0 auto;
            background: #fff;
            text-align: center;
            color: #F4696A;
            font-size: 6em;
            font-family: "Microsoft YaHei";
        }

        body div p,
        body div h2 {
            color: #fff;
            text-align: center;
            margin: 0;
            margin-top: 20px;
        }

        body div blockquote {
            background: #fff;
            text-align: center;
            max-width: 352px;
            margin: 0 auto;
            margin-top: 20px;
            border-radius: 6px;
            padding: 10px;
            overflow-y: auto;
            color: #5a5f69;
        }

        body div blockquote::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        body div blockquote::-webkit-scrollbar-thumb {
            border-radius: 10px;
            background-color: #888;
        }

        body div a,
        body div a:hover,
        body div a:focus {
            transition: all .35s;
            width: 100px;
            display: block;
            color: #fff;
            margin: 0 auto;
            margin-top: 20px;
            text-decoration: none;
            outline: none;
            border: 1px solid #fff;
            border-radius: 6px;
            text-align: center;
            line-height: 33px;
        }

        body div a:hover {
            background: rgba(255, 255, 255, .2);
        }
    </style>
</head>

<body>
    <div>
        <i>!</i>
        <h2>警告</h2>
        <p>小伙子,前面的路很危险,你确定要继续向前吗?</p>
        <blockquote>https://www.qqmu.com/</blockquote>
        <a href="https://www.qqmu.com/">继续深♂入</a>
    </div>
</body>

</html>
相关推荐
Arvin.Angela3 小时前
HTML5语义化标签深度解析:div、section与article的底层实现原理
html
贩卖黄昏的熊5 小时前
flex 布局快速梳理
开发语言·javascript·css3·html5
奶油话梅糖7 小时前
浏览器解析 HTML 头部的底层逻辑:从字节流到资源调度
前端·html
tedcloud1238 小时前
HyperFrames部署教程:用HTML生成MP4视频
前端·数据库·人工智能·html·音视频
AI行业学习9 小时前
CC-Switch v3.16.1 官方下载 | 安装配置详细教程【2026.6.10】
java·开发语言·vue.js·python·mysql·eclipse·html
永远的WEB小白12 小时前
css改变svg图标的颜色
前端·javascript·css
Xzh042314 小时前
Web 前端开发 — 期末复习指南(Html、Css、Js)
css·html5·web·js·期末
糯米导航14 小时前
浏览器解析HTML头部的底层逻辑:从字节流到渲染树的关键一步
前端·html
San813_LDD15 小时前
[Vue/HTML]ECharts 使用指南:从入门到绘制各种常用图表
vue.js·html·echarts
就叫_这个吧15 小时前
HTML或JSP页面链接CSS,link标签没问题,但不显示样式问题解决
java·前端·css·html·intellij-idea·jsp