Advertisement
techcws

Untitled

Oct 19th, 2023
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.74 KB | None | 0 0
  1.  
  2.  
  3. * {
  4. margin: 0;
  5. padding: 0;
  6. box-sizing: border-box;
  7. font-family: "Poppins", sans-serif;
  8. }
  9.  
  10. body {
  11. overflow: hidden;
  12. }
  13.  
  14. section {
  15. display: flex;
  16. min-height: 50vh;
  17. align-items: center;
  18. justify-content: center;
  19. background: linear-gradient(to bottom, #f7f7fe, #dff1ff);
  20. }
  21.  
  22. section .colour {
  23. position: absolute;
  24. filter: blur(150px);
  25. }
  26.  
  27. section .colour:nth-child(1) {
  28. /* top: -350px; */
  29. width: 600px;
  30. height: 600px;
  31. background: #bf4ad4;
  32. }
  33.  
  34. section .colour:nth-child(2) {
  35. left: 100px;
  36. width: 500px;
  37. height: 500px;
  38. bottom: -150px;
  39. background: #ffa500;
  40. }
  41.  
  42. section .colour:nth-child(3) {
  43. right: 100px;
  44. bottom: 50px;
  45. width: 300px;
  46. height: 300px;
  47. background: #2b67f3;
  48. }
  49.  
  50. .box {
  51. position: relative;
  52. }
  53.  
  54. .box .square {
  55. position: absolute;
  56. border-radius: 10px;
  57. backdrop-filter: blur(5px);
  58. background: rgba(255, 255, 255, 0.1);
  59. animation-delay: calc(-1s * var(--i));
  60. animation: animate 10s linear infinite;
  61. box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  62. border: 1px solid rgba(255, 255, 255, 0.5);
  63. border-right: 1px solid rgba(255, 255, 255, 0.2);
  64. border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  65. }
  66.  
  67. @keyframes animate {
  68.  
  69. 0%,
  70. 100% {
  71. transform: translateY(-40px);
  72. }
  73.  
  74. 50% {
  75. transform: translateY(40px);
  76. }
  77. }
  78.  
  79. .box .square:nth-child(1) {
  80. top: -50px;
  81. left: -60px;
  82. width: 100px;
  83. height: 100px;
  84. }
  85.  
  86. .box .square:nth-child(2) {
  87. z-index: 2;
  88. top: 150px;
  89. left: -100px;
  90. width: 120px;
  91. height: 120px;
  92. }
  93.  
  94. .box .square:nth-child(3) {
  95. z-index: 2;
  96. width: 80px;
  97. height: 80px;
  98. right: -50px;
  99. bottom: -60px;
  100. }
  101.  
  102. .box .square:nth-child(4) {
  103. left: 100px;
  104. width: 50px;
  105. height: 50px;
  106. bottom: -80px;
  107. }
  108.  
  109. .box .square:nth-child(5) {
  110. top: -80px;
  111. left: 140px;
  112. width: 60px;
  113. height: 60px;
  114. }
  115.  
  116. .container {
  117. /* width: 400px; */
  118. display: flex;
  119. /* min-height: 400px; */
  120. position: relative;
  121. border-radius: 10px;
  122. align-items: center;
  123. justify-content: center;
  124. backdrop-filter: blur(5px);
  125. background: rgba(255, 255, 255, 0.1);
  126. box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  127. border: 1px solid rgba(255, 255, 255, 0.5);
  128. border-right: 1px solid rgba(255, 255, 255, 0.2);
  129. border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  130. }
  131.  
  132. .form {
  133. width: 100%;
  134. height: 100%;
  135. padding: 40px;
  136. position: relative;
  137. }
  138.  
  139. .form h2 {
  140. color: #5c5c5c;
  141. font-size: 24px;
  142. font-weight: 600;
  143. position: relative;
  144. letter-spacing: 1px;
  145. margin-bottom: 40px;
  146. }
  147.  
  148. .form h2::before {
  149. left: 0;
  150. width: 80px;
  151. height: 4px;
  152. content: "";
  153. bottom: -10px;
  154. background: #fff;
  155. position: absolute;
  156. }
  157.  
  158. .form .input__box {
  159. width: 100%;
  160. margin-top: 20px;
  161. }
  162.  
  163. .form .input__box input {
  164. width: 100%;
  165. color: #000000;
  166. border: none;
  167. outline: none;
  168. font-size: 16px;
  169. padding: 10px 20px;
  170. letter-spacing: 1px;
  171. border-radius: 35px;
  172. background: rgba(255, 255, 255, 0.2);
  173. border: 1px solid rgba(255, 255, 255, 0.5);
  174. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  175. border-right: 1px solid rgba(255, 255, 255, 0.2);
  176. border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  177. }
  178.  
  179. .form::placeholder {
  180. color: #fff;
  181. }
  182.  
  183. .form .input__box input[type="submit"] {
  184. color: #666;
  185. cursor: pointer;
  186. background: #fff;
  187. max-width: 100px;
  188. font-weight: 600;
  189. margin-bottom: 20px;
  190. }
  191.  
  192. .forget {
  193. color: #fff;
  194. margin-top: 5px;
  195. }
  196.  
  197. .forget a {
  198. color: #fff;
  199. font-weight: 600;
  200. text-decoration: none;
  201. }
  202.  
  203.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement