Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4.  
  5. <style>
  6. @font-face { font-family: basic; src: url("src/fonts/basic.otf") format("opentype"); }
  7. body{
  8. background: url('src/backgrounds/mobile_space.jpg');
  9. margin: 0;
  10. }
  11. a{
  12. text-decoration: none;
  13. }
  14. #white-bar{
  15. position: absolute;
  16. top: 0;
  17. left: 0;
  18. width: 100%;
  19. height: 55px;
  20. line-height: 55px;
  21. background: #fff;
  22. box-shadow: 0 0 3px #fff;
  23. display: table;
  24. }
  25. #landing{
  26. position: absolute;
  27. top: 25%;
  28. left: 0;
  29. width: 100%;
  30. animation: cssAnimation 3s forwards;
  31. }
  32. #register{
  33. position: absolute;
  34. font-size: 13px;
  35. top: 15px;
  36. right: 20px;
  37. color: #fff;
  38. background: #0076F4;
  39. font-family: basic;
  40. padding: 5px 15px 7px 15px;
  41. border-radius: 15px;
  42. }
  43. #login{
  44. position: absolute;
  45. font-size: 13px;
  46. top: 15px;
  47. right: 105px;
  48. color: #0076F4;
  49. font-family: basic;
  50. padding: 5px 15px 7px 15px;
  51. }
  52. #message{
  53. position: relative;
  54. left: 37%;
  55. padding-right: 8px;
  56. vertical-align: middle;
  57. border-right: 1px solid #ccc;
  58. }
  59. #search{
  60. position: relative;
  61. left: 17%;
  62. width: 20px;
  63. padding-top: 2px;
  64. vertical-align: middle;
  65. }
  66. #welcome{
  67. width: 100%;
  68. text-align: center;
  69. font-family: basic;
  70. position: absolute;
  71. top: 10%;
  72. color: #fff;
  73. font-size: 26px;
  74. font-weight: bold;
  75. letter-spacing: 1px;
  76. animation: cssAnimation 2s forwards;
  77. }
  78. #desc{
  79. width: 100%;
  80. text-align: center;
  81. font-family: basic;
  82. position: absolute;
  83. top: 17%;
  84. color: #fff;
  85. font-size: 15px;
  86. letter-spacing: 1px;
  87. animation: cssAnimation 3s forwards;
  88. }
  89.  
  90. @keyframes cssAnimation {
  91. 0% {opacity: 0;}
  92. 100% {opacity: 1;}
  93. }
  94. #members{
  95. width: 100%;
  96. text-align: center;
  97. font-family: basic;
  98. position: absolute;
  99. bottom: 12%;
  100. color: #fff;
  101. font-size: 35px;
  102. }
  103. #members p {
  104. display: inline-block;
  105. vertical-align: top;
  106. animation: cssAnimation 3s forwards;
  107. }
  108. #pricing{
  109. text-align: center;
  110. font-family: basic;
  111. position: absolute;
  112. bottom: 26%;
  113. color: #fff;
  114. font-size: 18px;
  115. background: #0076F4;
  116. padding: 5px 15px 7px 15px;
  117. border-radius: 25px;
  118. right: 28%;
  119. left : 28%;
  120. box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.6);
  121. animation: cssAnimation 3s forwards;
  122. }
  123. #counter{
  124. font-weight: bold;
  125. }
  126. #m-info{
  127. width: 100%;
  128. text-align: center;
  129. font-family: basic;
  130. position: absolute;
  131. bottom: 8%;
  132. font-size: 30px;
  133. color: #fff;
  134. font-weight: normal;
  135. animation: cssAnimation 3s forwards;
  136. }
  137. #more{
  138. width: 100%;
  139. text-align: center;
  140. font-family: basic;
  141. position: absolute;
  142. bottom: 5%;
  143. font-size: 13px;
  144. color: #0076F4;
  145. font-weight: normal;
  146. animation: cssAnimation 3s forwards;
  147. text-decoration: underline;
  148. }
  149. #ship{
  150. vertical-align: middle;
  151. position: relative;
  152. left: 24px;
  153. width: 48px;
  154. }
  155. </style>
  156. <script>
  157. function wait(time) {
  158. return new Promise(resolve => {
  159. setTimeout(() => {
  160. resolve();
  161. }, time);
  162. });
  163. }
  164.  
  165. window.onload = async function start(){
  166. for (i = 0; i < 100; i++) {
  167. await wait(10);
  168. document.getElementById("counter").innerHTML = i;
  169. }
  170. }
  171. </script>
  172. </head>
  173. <body>
  174. <div id="white-bar">
  175. <img id="ship" src="src/icons/ship.png">
  176. <img id="message" src="src/icons/message.svg">
  177. <img id="search" src="src/icons/search.png">
  178. </div>
  179. <p id="welcome">Welcome on Instarise. 🚀</p>
  180. <p id="desc">Make your Instagram Account rise! 💬</p>
  181. <a id="login" href="login">Login</a>
  182. <a id="register" href="register">Sign Up</a>
  183. <div id="members"><p id="counter">0</p><p>​ Customers</p></div>
  184. <p id="m-info">Are using our services.<br></p>
  185. <a id="pricing" href="pricing">Start Rising! 👨‍🚀</a>
  186. <a id="more" href="more">Learn More ➙</a>
  187. <img id="landing" src="src/backgrounds/mobile_landing.png">
  188. </body>
  189. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement