welcome.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. body {
  2. display: flex;
  3. min-height: 100vh;
  4. margin: 0;
  5. justify-content: center;
  6. align-items: center;
  7. text-align: center;
  8. background: #222;
  9. overflow-y: hidden;
  10. }
  11. @keyframes fadeIn {
  12. from {
  13. opacity: 0;
  14. }
  15. to {
  16. opacity: 1;
  17. }
  18. }
  19. .footer-bar {
  20. position: fixed;
  21. bottom: 0;
  22. left: 0;
  23. right: 0;
  24. color: #6ee1f5;
  25. padding: 10px 0 20px 0;
  26. text-align: center;
  27. opacity: 0;
  28. animation: fadeIn 5s forwards;
  29. background: #222;
  30. }
  31. .link {
  32. color: #6ee1f5;
  33. }
  34. .reveal {
  35. position: relative;
  36. display: flex;
  37. color: #6ee1f5;
  38. font-size: 2em;
  39. font-family: Raleway, sans-serif;
  40. letter-spacing: 3px;
  41. text-transform: uppercase;
  42. white-space: pre;
  43. }
  44. .reveal span {
  45. opacity: 0;
  46. transform: scale(0);
  47. animation: fadeIn 2.4s forwards;
  48. }
  49. .reveal::before, .reveal::after {
  50. position: absolute;
  51. content: "";
  52. top: 0;
  53. bottom: 0;
  54. width: 2px;
  55. height: 100%;
  56. background: white;
  57. opacity: 0;
  58. transform: scale(0);
  59. }
  60. .reveal::before {
  61. left: 50%;
  62. animation: slideLeft 1.5s cubic-bezier(0.7, -0.6, 0.3, 1.5) forwards;
  63. }
  64. .reveal::after {
  65. right: 50%;
  66. animation: slideRight 1.5s cubic-bezier(0.7, -0.6, 0.3, 1.5) forwards;
  67. }
  68. @keyframes fadeIn {
  69. to {
  70. opacity: 1;
  71. transform: scale(1);
  72. }
  73. }
  74. @keyframes slideLeft {
  75. to {
  76. left: -6%;
  77. opacity: 1;
  78. transform: scale(0.9);
  79. }
  80. }
  81. @keyframes slideRight {
  82. to {
  83. right: -6%;
  84. opacity: 1;
  85. transform: scale(0.9);
  86. }
  87. }