spring mvc 404页面制作「建议收藏」

spring mvc 404页面制作「建议收藏」1、404页面<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0,ma

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺

1、404页面

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>维护中</title>
    <style type="text/css">
        * {
    
    margin: 0;padding: 0;}

        body{
    
    background: url(/static/img/print.png);}
        .cont{
    
    text-align: center;}
        a{
    
    text-decoration: none;}
        .hanger{
    
    width: 317px;height: 290px;background: url(/static/img/plate.png);margin: 120px auto 0;font-family: "Microsoft YaHei";
            -webkit-transform-origin: center top;
            -moz-transform-origin: center top;
            transform-origin: center top;
            -webkit-animation: error-swing infinite 2s ease-in-out alternate;
            -moz-animation: error-swing infinite 2s ease-in-out alternate;
            animation: error-swing infinite 2s ease-in-out alternate
        }
        .error{
    
    font-size: 30px;width: 100%;margin-top:120px;display: inline-block;}
        .error404{
    
    font-size: 48px;margin-top: 12px;display: inline-block;width: 100%;}
        .notfound{
    
    margin: 48px 0 0 8px;font-size: 24px;color: #d00;}
        .testfint{
    
    margin: 16px 0 0 3px;font-size: 14px;}
        .btn{
    
    display: inline-block;background: #a6d037;color: #fff;padding:6px 10px;border-radius: 4px;margin-top: 12px;font-size: 12px;}


        @-webkit-keyframes error-swing {
    
    
            0% {-webkit-transform: rotate(1deg) }
            100% {
    
    -webkit-transform: rotate(-2deg) }
        }
        @-moz-keyframes error-swing {
    
    
            0% {-moz-transform: rotate(1deg) }
            100% {
    
    -moz-transform: rotate(-2deg) }
        }
        @keyframes error-swing {
    
    
            0% {transform: rotate(1deg) }
            100% {
    
    transform: rotate(-2deg) }
        }
    </style>
</head>
<body>
    <div class="cont">
        <div class="hanger">
            <span class="error">抱歉</span>
            <span class="error404">维护中</span>
        </div>
        <p class="notfound">很抱歉,系统正在维护中!</p>
        <p class="testfint">开放时间可能视维护情况有所调整</p>
        <a href="http://www.liyingjituan.com" target="_blank" class="btn backhome">去这里看看</a>
        <a href="javascript:location.reload()" class="btn refresh">刷新本站</a>
    </div>
</body>
</html>

 

2、print.png图片

spring mvc 404页面制作「建议收藏」

3、plate.png图片

spring mvc 404页面制作「建议收藏」

4、404效果图

spring mvc 404页面制作「建议收藏」

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/164552.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • google地图怎么下载离线地图_谷歌瓦片行列号算经纬度

    google地图怎么下载离线地图_谷歌瓦片行列号算经纬度谷歌地图离线地图瓦片下载Ifyou’veeverwantedtobeabletodownloadGoogleMapsdataforofflineuse,youshouldcheckoutgmapcatcher,across-platformapplicationthatcachesmapsegmentslocally.如果您曾经希望能够下载…

    2022年9月20日
    2
  • bug生命周期的状态

    bug生命周期的状态从一个bug被发现到这个bug被关闭这一段时间,bug可能会有以下状态:new,openPostpone,PendingRetest,Retest,PendingReject,Reject,Deferred,closed.(请注意这里有很多种状态,我们需要根据不同情况来决定怎样或者是否需要跟开发人员沟通)  下面就对这几种状态进行以下解释:  New:(新的)  当

    2022年10月8日
    2
  • scratch编程一款节奏小游戏「建议收藏」

    scratch编程一款节奏小游戏「建议收藏」今天小恐龙来教大家做一款好玩的小游戏:这个游戏本恐龙没有加音乐,因为箭头落下的速度会根据我们的命中率来改变,按中的越多速度就越快,漏的越多速度就越慢,有上下限!首先画出轨道,粗细随意:轨道直接设置成移到(0,0)就可以了,没有别的程序然后是箭头:变量分值和速度是隐藏起来的,我们在玩的时候是看不到的,速度下限是5,上限是10,不然太快了反应不过来!箭头克隆体程序:最后是判定线的程序:如果是觉得没有音乐太单调的话,可以通过创建一个链表来储存音符。再新建一个变量,每按中一个箭头就将

    2022年6月16日
    54
  • 背包问题-动态规划java实现代码

    背包问题-动态规划java实现代码背包问题-动态规划背包问题是如今面试流行的面试题之一,我们可用动态规划解题

    2022年7月26日
    17
  • RouterOS(ROS)设置动态域名(DDNS)「建议收藏」

    RouterOS(ROS)设置动态域名(DDNS)「建议收藏」使用DDNS把动态IP地址映射到一个固定的域名解析服务上,用户每次连接网络的时候客户端程序通过信息传递把该主机的动态IP地址传送给服务器程序,服务项目程序提供DNS服务并实现动态域名解析。添加一个Scheduler,system-&gt;Scheduler::globalddnsiptemp[/ipaddresget[/ipaddressfindinterface=…

    2022年5月9日
    247
  • Webdriver下载及使用

    Webdriver下载及使用Chrome浏览器驱动下载地址:http://chromedriver.storage.proxy.ustclug.org/index.htmlFirfox浏览器驱动下载地址:https://github.com/mozilla/geckodriver/releasesIE浏览器驱动下载地址:https://www.selenium.dev/downloads/Edge浏览器驱动下载地址:https://developer.microsoft.com/en-us/microsoft-edg…

    2022年9月19日
    4

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号