• 好看的错误页面分享


    在这里插入图片描述

    DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <title>错误提示页!title>
        <style>
            html,body{height:100vh}
            html:before,html:after,body:before,body:after{content:'';background:linear-gradient(#203075,#233581);border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}
            html:before,body:before{background:linear-gradient(#233581,#203075)}
            html{background:linear-gradient(#203075,#233581);overflow:hidden}
            html:before{height:105vmax;width:105vmax;z-index:-4}
            html:after{height:80vmax;width:80vmax;z-index:-3}
    
            body{display:flex;justify-content:center;align-items:center;color:#FFF;font-family:'Varela Round',Sans-serif;text-shadow:0 30px 10px rgba(0,0,0,0.15)}
            body:before{height:60vmax;width:60vmax;z-index:-2}
            body:after{height:40vmax;width:40vmax;z-index:-1}
            .main{text-align:center;z-index:5}
            p{font-size:18px;margin-top:0}
            h1{font-size:145px;margin:0}
            button{background:linear-gradient(#EC5DC1,#D61A6F);padding:0 12px;border:none;border-radius:20px;box-shadow:0 30px 15px rgba(0,0,0,0.15);outline:none;color:#FFF;font:400 16px/2.5 Nunito,'Varela Round',Sans-serif;text-transform:uppercase;cursor:pointer}
            .bubble{background:linear-gradient(#EC5DC1,#D61A6F);border-radius:50%;box-shadow:0 30px 15px rgba(0,0,0,0.15);position:absolute}
            .bubble:before,.bubble:after{content:'';background:linear-gradient(#EC5DC1,#D61A6F);border-radius:50%;box-shadow:0 30px 15px rgba(0,0,0,0.15);position:absolute}
            .bubble:nth-child(1){top:15vh;left:15vw;height:22vmin;width:22vmin}
            .bubble:nth-child(1):before{width:13vmin;height:13vmin;bottom:-25vh;right:-10vmin}
            .bubble:nth-child(2){top:20vh;left:38vw;height:10vmin;width:10vmin}
            .bubble:nth-child(2):before{width:5vmin;height:5vmin;bottom:-10vh;left:-8vmin}
            .bubble:nth-child(3){top:12vh;right:30vw;height:13vmin;width:13vmin}
            .bubble:nth-child(3):before{width:3vmin;height:3vmin;bottom:-15vh;left:-18vmin;z-index:6}
            .bubble:nth-child(4){top:25vh;right:18vw;height:18vmin;width:18vmin}
            .bubble:nth-child(4):before{width:7vmin;height:7vmin;bottom:-10vmin;left:-15vmin}
            .bubble:nth-child(5){top:60vh;right:18vw;height:28vmin;width:28vmin}
            .bubble:nth-child(5):before{width:10vmin;height:10vmin;bottom:5vmin;left:-25vmin}style>
    head>
    
    <body>
    <div class="bubble">div>
    <div class="bubble">div>
    <div class="bubble">div>
    <div class="bubble">div>
    <div class="bubble">div>
    <div class="main">
        <h1>Errorh1>
        <p>您访问的页面出错了!p>
    div>
    body>
    html>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
  • 相关阅读:
    【Python实战】——Python+Opencv是实现车牌自动识别
    linux目录内容详解
    力扣 2. 两数相加
    【Mysql系列】01_查询+排序
    力扣(LeetCode)323. 无向图中连通分量的数目(2022.11.20)
    Pytorch常用的4种随机数生成方法
    Bean的作用域和声明周期
    Redux详解(二)
    个人网站的SEO优化系列——如何实现搜索引擎的收录
    五、线程同步 synchronized
  • 原文地址:https://blog.csdn.net/Lov1_BYS/article/details/130657279