当前位置: 首页 > news >正文

404 页面代码

 

<template>
<div class="container"><h1>404</h1>
<div ><p class="text-center">当前页面无法访问,可能没有权限或已删除</p><p class="text-center"> 去别处看看吧</p>
</div>
</div>
</template>
<script setup lang='ts'></script> 
<style lang="scss" scoped>
h1 {font-size: 6rem;animation: shake .6s ease-in-out infinite alternate;display: flex;height: 50vh;justify-content: center;align-items: end;
}
.text-center{display: flex;justify-content: center;font-size: 22px;
}@keyframes shake {0% {transform: translate(-10px)}25% {transform: translate(-20px, 1px)}50% {transform: translate(-30px, -1px)}75% {transform: translate(-20px, -2px) skewY(-8deg) scaleX(.96);filter: blur(0)}100% {transform: translate(-10px, -1px)}
}
h1:before {content: attr(data-t);position: absolute;left: 50%;transform: translate(-50%,.34em);height: .1em;line-height: .5em;width: 100%;animation: scan .5s ease-in-out 275ms infinite alternate,glitch-anim .3s ease-in-out infinite alternate;overflow: hidden;opacity: .7;
}@keyframes glitch-anim {0% {clip: rect(32px,9999px,28px,0)}10% {clip: rect(13px,9999px,37px,0)}20% {clip: rect(45px,9999px,33px,0)}30% {clip: rect(31px,9999px,94px,0)}40% {clip: rect(88px,9999px,98px,0)}50% {clip: rect(9px,9999px,98px,0)}60% {clip: rect(37px,9999px,17px,0)}70% {clip: rect(77px,9999px,34px,0)}80% {clip: rect(55px,9999px,49px,0)}90% {clip: rect(10px,9999px,2px,0)}to {clip: rect(35px,9999px,53px,0)}
}@keyframes scan {0%,20%,to {height: 0;transform: translate(-50%,.44em)}10%,15% {height: 1em;line-height: .2em;transform: translate(-55%,.09em)}
}
h1:after {content: attr(data-t);position: absolute;top: -8px;left: 50%;transform: translate(-50%,.34em);height: .5em;line-height: .1em;width: 100%;animation: scan 665ms ease-in-out .59s infinite alternate,glitch-anim .3s ease-in-out infinite alternate;overflow: hidden;opacity: .8
}
</style>

http://www.lryc.cn/news/373941.html

相关文章:

  • java设计模式和面向对象编程思想
  • 超万卡训练集群网络互联技术解读
  • AtomicInteger类介绍
  • Es 索引查询排序分析
  • 【C语言】解决C语言报错:Format String Vulnerability
  • Python深度学习:Bi-LSTM和LSTM在网络上有什么区别,对比来看
  • Keepalived LVS群集
  • harbor问题总结
  • windows系统,家庭自用NAS。本地局域网 Docker安装nextcloud
  • 迅狐跨境商城系统|全平台兼容|前端采用uni-app跨端框架,后端采用ThinkPHP5框架
  • Elixir学习笔记——进程(Processes)
  • 困惑度作为nlp指标的理解示例
  • 01 Pytorch 基础
  • STL——set、map、multiset、multimap的介绍及使用
  • 使用C语言,写一个类似Linux中执行cat命令的类似功能
  • 【Android】Android系统性学习——Android系统架构
  • 鸿蒙应用开发
  • 索引失效有效的11种情况
  • 字符数组基础知识及题目
  • 一个简单的玩具机器人代码
  • 设计模式-装饰器模式Decorator(结构型)
  • RK3588开发板中使用Qt对zip文件进行解压
  • 三、网络服务协议
  • C++初学者指南第一步---1. C++开发环境设置
  • 二维数组与指针【C语言】
  • 解决linux下安装apex库报错:ModuleNotFoundError: No module named ‘packaging‘
  • React基础教程(07):条件渲染
  • 回归预测 | Matlab实现NGO-HKELM北方苍鹰算法优化混合核极限学习机多变量回归预测
  • 操作系统——信号
  • 力扣1482.制作m束花所需的最少时间