Advertisement
Guest User

Untitled

a guest
Mar 6th, 2025
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  7. <title>Dare to Dream</title>
  8. <style>
  9. /* General Reset */
  10. * {
  11. margin: 0;
  12. padding: 0;
  13. box-sizing: border-box;
  14. }
  15.  
  16. /* Background Styling */
  17. body {
  18. display: flex;
  19. flex-direction: column;
  20. height: 100vh;
  21. max-width: 1440px;
  22. margin: 0 auto;
  23. font-family: Arial, sans-serif;
  24. }
  25.  
  26. /* Base styles for icons */
  27. .download,
  28. .notified,
  29. .yt,
  30. .ig,
  31. .spotify {
  32. position: absolute;
  33. z-index: 70;
  34. cursor: pointer;
  35. width: auto;
  36. height: auto;
  37. }
  38.  
  39. /* Desktop Screens */
  40. @media (min-width: 1025px) {
  41. .download {
  42. bottom: 12%;
  43. left: 8%;
  44. width: 90px;
  45. }
  46.  
  47. .notified {
  48. bottom: 12%;
  49. left: 22%;
  50. width: 90px;
  51. }
  52.  
  53. .yt {
  54. bottom: 12%;
  55. right: 22%;
  56. width: 90px;
  57. }
  58.  
  59. .ig {
  60. bottom: 12%;
  61. right: 15%;
  62. width: 90px;
  63. }
  64.  
  65. .spotify {
  66. bottom: 12%;
  67. right: 8%;
  68. width: 90px;
  69. }
  70. }
  71.  
  72. /* Tablets */
  73. @media (max-width: 1024px) {
  74. .download {
  75. bottom: 10%;
  76. left: 6%;
  77. width: 75px;
  78. }
  79.  
  80. .notified {
  81. bottom: 10%;
  82. left: 22%;
  83. width: 75px;
  84. }
  85.  
  86. .yt {
  87. bottom: 10%;
  88. right: 22%;
  89. width: 75px;
  90. }
  91.  
  92. .ig {
  93. bottom: 10%;
  94. right: 14%;
  95. width: 75px;
  96. }
  97.  
  98. .spotify {
  99. bottom: 10%;
  100. right: 6%;
  101. width: 75px;
  102. }
  103. }
  104.  
  105. /* Mobile Screens */
  106. @media (max-width: 768px) {
  107. .download {
  108. bottom: 8%;
  109. left: 4%;
  110. width: 60px;
  111. }
  112.  
  113. .notified {
  114. bottom: 8%;
  115. left: 24%;
  116. width: 60px;
  117. }
  118.  
  119. .yt {
  120. bottom: 8%;
  121. right: 24%;
  122. width: 60px;
  123. }
  124.  
  125. .ig {
  126. bottom: 8%;
  127. right: 14%;
  128. width: 60px;
  129. }
  130.  
  131. .spotify {
  132. bottom: 8%;
  133. right: 4%;
  134. width: 60px;
  135. }
  136. }
  137.  
  138. /* Small Phones */
  139. @media (max-width: 480px) {
  140. .download {
  141. bottom: -220%;
  142. left: 10%;
  143. width: 240px;
  144. }
  145.  
  146. .notified {
  147. bottom: -260%;
  148. left: 11%;
  149. width: 240px;
  150. }
  151.  
  152. .yt {
  153. bottom: -283%;
  154. left: 11%;
  155. width: 80px;
  156. }
  157.  
  158. .ig {
  159. bottom: -283%;
  160. left: 37.5%;
  161. width: 80px;
  162. }
  163.  
  164. .spotify {
  165. bottom: -283%;
  166. left: 63%;
  167. width: 80px;
  168. }
  169. }
  170.  
  171. /* Responsive Image Handling */
  172. img {
  173. max-width: 100%;
  174. height: auto;
  175. }
  176. </style>
  177. </head>
  178. <body>
  179. <div class="container">
  180. <!-- <div class="image-wrapper">
  181. <img
  182. src="assets/bgimage.png"
  183. class="dtdbg"
  184. alt="DARE TO DREAM?"
  185. id="dtdbg" />
  186. </div> -->
  187. </div>
  188. <div class="container2">
  189. <img src="./assets/FULL_WEBPAGE_IMAGE.jpg" class="img" />
  190. </div>
  191. <img src="./assets/download.png" class="download" />
  192. <img src="./assets/notified.png" class="notified" />
  193. <img src="./assets/YT.png" class="yt" />
  194. <img src="./assets/IG.png" class="ig" />
  195. <img src="./assets/SPOTIFY.png" class="spotify" />
  196.  
  197. <script>
  198. const image = document.getElementById("dtdbg");
  199. const body = document.body;
  200.  
  201. image.addEventListener("click", () => {
  202. body.style.overflowY = "auto";
  203.  
  204. image.classList.add("fly-up");
  205.  
  206. setTimeout(() => {
  207. body.style.overflowY = "auto";
  208. }, 2000);
  209. });
  210. </script>
  211. </body>
  212. </html>
  213.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement