纸张撕裂4巅峰国际体彩平台appapp官网下载04错误页面动画效果
或者根被删除。</p> <a class="btn-link" href="http://www.bokequ.com/">返回首页</a> </div> </main></body> </html> 2、演示Ripped 404 Page Animation (b体彩平台appokequ.com) 1、巅峰国际app官网下载css样式 来源分享https://www.liuzhixi.cn/html/293.html h巅峰国际a体彩平台apppp官网下载tml+css实现纸张撕裂404错误页面动画效果,html页面代码* { border: 0; box-sizing: border-box; margin: 0; padding: 0;}:root { --hue: 223; --bg: hsl(var(--hue),10%,90%); --fg: hsl(var(--hue),10%,10%); --primary: hsl(var(--hue),90%,45%); --primary-down: hsl(var(--hue),90%,65%); --trans-dur: 0.3s; font-size: calc(16px + (24 - 16) * (100vw - 320px) / (2560 - 320));}body { background-color: var(--bg); color: var(--fg); display: flex; font: 1em/1.5 Nunito, sans-serif; height: 100vh; transition: background-color var(--trans-dur), color var(--trans-dur);}main { display: grid; grid-gap: 3em 1.5em; margin: auto; max-width: 40em; padding: 3em 0; text-align: center; width: calc(100% - 3em);}h1 { font-size: 3em; line-height: 1; margin: 0 0 1.5rem;}p { margin: 0 0 1.5em;}.btn-link { background: var(--primary); border-radius: 1.5em; display: inline-block; outline: transparent; padding: 0.75em 1.5em; text-align: center; text-decoration: none; transition: background-color 0.15s linear;}.btn-link,.btn-link:visited { color: hsl(0,0%,100%);}.btn-link:focus-visible,.btn-link:hover { background: var(--primary-down);}.btn-link:hover { text-decoration: none;}.paper { display: block; margin: auto; overflow: visible; width: 100%; max-width: 224px; height: auto;}.paper__fill { fill: hsl(0,0%,100%);}.paper__outline,.paper__lines { transition: stroke var(--trans-dur);}.paper__outline { stroke: hsl(var(--hue),10%,10%);}.paper__lines { stroke: hsl(var(--hue),10%,70%);}.paper__shadow { fill: hsl(var(--hue),10%,70%); transition: fill var(--trans-dur);}.paper__top,.paper__bottom,.paper__tear,.paper__tear-fill { animation: paperTop 1.25s cubic-bezier(0.77,0,0.18,1);}.paper__top,.paper__bottom { transform-origin: 0 148px; transition: transform var(--trans-dur) cubic-bezier(0.77,0,0.18,1);}.paper__top { transform: translate(0,8px);}.paper__bottom { animation-name: paperBottom; transform: translate(0,42px);}.paper__tear,.paper__tear-fill { animation-timing-function: cubic-bezier(0.32,0,0.67,0);}.paper__tear { animation-name: paperTear; stroke-dashoffset: 0;}.paper__tear-fill { animation-name: paperTearFill;}.paper__outline:hover .paper__top,.paper__outline:hover .paper__bottom { transform: translate(0,25px);}/* Dark theme */@media (prefers-color-scheme: dark) { :root { --bg: hsl(var(--hue),10%,25%); --fg: hsl(var(--hue),10%,90%); } .paper__shadow:first-child { fill: hsl(var(--hue),10%,15%); }}/* Beyond mobile */@media (min-width: 768px) { main { grid-template-columns: 1fr 2fr; align-items: center; text-align: left; } .paper { max-width: 300px; }}/* Animations */@keyframes paperTop { from, 40% { animation-timing-function: cubic-bezier(0.32,0,0.67,0); transform: translate(0,25px) rotate(0); transform-origin: 61px 148px; } 70% { animation-timing-function: cubic-bezier(0.33,1,0.67,1.5); transform: translate(0,25px) rotate(-5deg); transform-origin: 61px 148px; } to { transform: translate(0,8px) rotate(0); transform-origin: 0 148px; }}@keyframes paperBottom { from, 40% { animation-timing-function: cubic-bezier(0.32,0,0.67,0); transform: translate(0,25px) rotate(0); transform-origin: 61px 148px; } 70% { animation-timing-function: cubic-bezier(0.33,1,0.67,1.5); transform: translate(0,25px) rotate(5deg); transform-origin: 61px 148px; } to { transform: translate(0,42px) rotate(0); transform-origin: 0 148px; }}@keyframes paperTear { from, 40% { stroke-dashoffset: -198; } 70%, to { stroke-dashoffset: 0; }}@keyframes paperTearFill { from, 40% { width: 187px; } 70%, to { width: 0; }}
<html> <head> <meta charset="UTF-8"> <title>Ripped 404 Page Animation</title> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"><link rel="stylesheet" type="text/css" href="css/style.css"><link rel='stylesheet' href='css/css2.css'></head> <body> <main> <div> <svg class="paper" viewBox="0 0 300 300" width="300px" height="300px" role="img" aria-label="A piece of paper torn in half"> <g class="paper__outline" fill="none" stroke="hsl(0,10%,10%)" stroke-width="8" stroke-linecap="round" stroke-linejoin="round" transform="translate(61,4)"> <g class="paper__top" transform="translate(0,25)"> <polygon class="paper__shadow" fill="hsl(0,10%,70%)" stroke="none" points="0 148,0 0,137 0,187 50,187 148,155 138,124 148,93 138,62 148,31 138" transform="translate(-12,12)" /> <rect class="paper__tear-fill" fill="hsl(0,0%,100%)" stroke="none" x="0" y="137" width="0" height="23px" /> <polygon class="paper__fill" fill="hsl(0,0%,100%)" stroke="none" points="0 148,0 0,137 0,187 50,187 148,155 138,124 148,93 138,62 148,31 138" /> <polygon class="paper__shadow" fill="hsl(0,10%,70%)" stroke="none" points="137 0,132 55,187 50,142 45" /> <polyline points="137 0,142 45,187 50" /> <polyline points="0 148,0 0,137 0,187 50,187 148" /> <g class="paper__lines" stroke="hsl(0,10%,70%)"> <polyline points="22 88,165 88" /> <polyline points="22 110,165 110" /> <polyline points="22 132,165 132" /> </g> <polyline class="paper__tear" points="0 148,31 138,62 148,93 138,124 148,155 138,187 148" stroke-dasharray="198 198" stroke-dashoffset="-198" /> </g> <g class="paper__bottom" transform="translate(0,25)"> <polygon class="paper__shadow" fill="hsl(0,10%,70%)" stroke="none" points="0 148,31 138,62 148,93 138,124 148,155 138,187 148,187 242,0 242" transform="translate(-12,12)" /> <polygon class="paper__fill" fill="hsl(0,0%,100%)" stroke="none" points="0 148,31 140,62 148,93 138,124 148,155 138,187 148,187 242,0 242" /> <polyline points="187 148,187 242,0 242,0 148" /> <g class="paper__lines" stroke="hsl(0,10%,70%)"> <polyline points="22 154,165 154" /> <polyline points="22 176,165 176" /> <polyline points="22 198,94 198" /> </g> <polyline class="paper__tear" points="0 148,31 138,62 148,93 138,124 148,155 138,187 148" stroke-dasharray="198 198" stroke-dashoffset="-198" /> </g> </g> </svg> </div> <div> <h1>404</h1> <p>您要查找的页面可能已被移动,
- 最近发表
-
- 个人网站香港主机野草云选购
- AR眼镜市场风向标:雷鸟创新打破垄断,新品X3 Pro引领行业新潮流
- wordpress个人博客主题Grace8.0模板分享
- 织梦DedeCMS图集发布图片调用外链方法
- wordpress搬家后上传图片出现错误
- 纤薄机身扫地新宠:科沃斯T50 PRO,水箱版1613元国补新低,体验升级更轻松
- dedecms织梦5.7仿站视频教程(中级上部)
- Crypto Markets Add $70 Billion Daily as Bitcoin (BTC) Soars Past $71K (Market Watch)
- CSS背景background样式属性设置
- WordPress博客网站301重定向的两种方法
- 随机阅读
-
- 小米米家无线直发梳新色上市:云瑾紫,三挡调温,售价亲民,实用之选
- WordPress博客网站.htaccess文件的作用
- wordpress主题纯代码禁止复制文章内容的方法
- CSS3渐变效果linear
- dedecms仿站article
- 华为新款智能手表WATCH 5将与Pura 80系列手机携手亮相,科技与时尚的完美融合
- 纤薄机身扫地新宠:科沃斯T50 PRO,水箱版1613元国补新低,体验升级更轻松
- 全网多站合一在线音乐搜索源码v1.6
- 图片/书本的文字如何快速提取(复制)?
- 当贝X5S Plus 4K激光投影仪震撼登场:国补价3999元,真实画质触手可及
- dedecms添加文章时禁止自动提取关键字
- 小米新款智能净烟机S20上市:告别油烟困扰,还能实时监测空气质量
- wordpress插件Bing URL Submissions网址自动提交到必应
- wordpress网站诊断提升打开速度
- BTC Maintains $70K Despite Heightened GBTC Outflows, WIF Plummets Again (Market Watch)
- 个人博客网站如何实现https重定向(301)到http
- 新浪微博主页侧边栏跟随页面滚动代码
- 35dir网站分类目录导航源码(经典彩色版)
- wordpress博客新闻杂志主题SimultLite
- web前端position定位层:absolute+relative应用
- 搜索
-
- 友情链接
-