think_exception.tpl 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>该页面不存在-404.life</title>
  6. <style>
  7. *{
  8. margin: 0;
  9. padding: 0;
  10. box-sizing: border-box;
  11. color: #F1F1F1;
  12. }
  13. body{
  14. font-family: Verdana, Geneva, Tahoma, sans-serif;
  15. background: rgb(238,174,202);
  16. background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
  17. }
  18. .container{
  19. height : 100vh;
  20. width: 80vw;
  21. margin: 0 auto;
  22. display: flex;
  23. align-items: center;
  24. justify-content: center;
  25. flex-direction: column;
  26. text-align: center;
  27. }
  28. .container .num {
  29. font-size: 8rem;
  30. margin-bottom: 40px;
  31. }
  32. .container .stg {
  33. font-size: 3rem;
  34. margin-bottom: 40px;
  35. animation: .7s ease-in-out show;
  36. }
  37. @keyframes show {
  38. 0%{
  39. opacity : 0;
  40. }100%{
  41. opacity: 1;
  42. }
  43. }
  44. </style>
  45. </head>
  46. <body>
  47. <div class="container">
  48. <div class="display">
  49. <h1 class="num">404</h1>
  50. <h1 class="stg">呀!这个页面走丢了</h1>
  51. </div>
  52. </div>
  53. </body>
  54. </html>