HTMLify
A Message Just For you
Views: 36 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 | <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" /> <title>An Message Just For You! <3</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" /> <script src="https://unpkg.com/scrollreveal"></script> <script src="https://unpkg.com/typeit@8.7.0/dist/index.umd.js"></script> </head> <style> @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Inter&family=Itim&display=swap'); :root { --poppins: 'Poppins', sans-serif; --nunito: 'Nunito Sans', sans-serif; --caveat: 'Caveat', cursive; --quicksand: 'Quicksand', sans-serif; --itim: 'Itim', cursive; --inter: 'Inter', sans-serif; } html, body { position: relative; height: 100%; } body { background: #000; font-family: 'Itim', cursive; font-size: 14px; color: #fff; text-shadow: 0px 2px 2px rgba(0, 0, 0, .5); margin: 0; padding: 0; } #bodyblur { opacity: .1; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .3); transition: all 1s ease; } #wallpaper { animation: jj 10s infinite; width: 100%; height: 100%; transform: scale(1); transition: all 1.3s ease; } #wallpaper2, #wallpaper3, #wallpaper4 { display: none } @keyframes jj { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } } .swiper { width: 100%; height: 100%; } .swiper-slide { text-align: center; font-size: 18px; display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: -100px; } p { margin-left: 60px; margin-right: 60px; text-align: left } .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; } .swiper-pagination { margin-bottom: 25vh } .swiper-pagination-bullet-active { background-color: #fff !important; opacity: 1 !important } .swiper-pagination-bullet { background-color: rgba(158, 158, 158, 1) !important; } .swiper-button-next, .swiper-button-prev { opacity: 0; cursor: none } .swiper-button-next:hover, .swiper-button-prev:hover { opacity: 0 } .swiper-button-prev { display: none } .sembunyi { display: none !important; } .stiker { display: flex; justify-content: center; align-items: center; width: 90px; height: 90px; margin-left: auto; margin-right: auto; box-shadow: 0 4px 30px rgba(255, 255, 255, 0.3); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; padding: 10px; margin-bottom: 20px; transition: all .75s ease } .stiker img { width: 85px; height: 85px; border-radius: 50% } b.merah { color: red } b.kuning { color: yellow } b.putih { text-shadow: none; padding-left: 8px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px; background-color: white; border-radius: 12px } .garismerah { border-bottom: 2px solid red } .gariskuning { border-bottom: 2px solid yellow } p { color: white; font-size: 15px; line-height: 1.5em; } .scale0 { opacity: 0; transform: scale(0); transition: all .9s ease; } .scale1 { opacity: 1; transform: scale(1); transition: all .9s ease; } svg { vertical-align: middle; width: 22px; height: 22px; fill: #fff } .heart-icon { z-index: 100; width: 30px; height: 30px; position: fixed; animation: heartMove linear 1; top: -10vh; } @keyframes heartMove { 0% { transform: translateY(-10vh); } 100% { transform: translateY(100vh); } } svg.line { fill: none; stroke: #fff; stroke-width: 2; animation: moving .7s linear infinite alternate; } .spin { animation: spin 3s linear infinite alternate; } @keyframes spin { from { transform: rotate(20deg); } to { transform: rotate(-20deg); } } @keyframes moving { from { transform: translateY(0); } to { transform: translateY(3px); } } .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; background: #000; z-index: 100; } .loading-message { font-size: 13px; text-shadow: 0px 2px 2px rgba(0, 0, 0, .8); color: white; text-align: center; } .blocklove { display: none; flex-direction: column; justify-content: center; align-items: center; } .lovein { background: #fff; color: #FF0900; border-radius: 50%; width: 40px; height: 40px; padding: 10px; font-size: 30px; display: flex; align-items: center; text-align: center; justify-content: center; transition: all .3s ease; } .lovein:hover { transform: scale(.9); color: #FF0900; } .lovein svg { stroke: #FF0600; width: 30px; height: 30px } .blocktext { position: relative; width: 100%; height: 370px; margin-top: 150px; overflow: auto; } #Tombol { position: relative; margin-top: 20px; margin-left: auto; margin-right: auto; display: flex; align-items: center; justify-content: center; list-style: none; transition: all 1s ease; } #Tombol a { cursor: pointer; display: inline-flex; align-items: center; margin: 0; margin: 10px; transition: all .2s ease; padding: 10px; outline: 0; border: 1px solid white; border-radius: 12px; line-height: 15px; background: rgba(0, 0, 0, .3); color: white; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; box-shadow: rgba(255, 255, 255, 0.15) 0px 7px 29px 0px; z-index: 1 } </style> <body> <audio src="" id="linkmp3" class="sembunyi"></audio> <div class="overlay"> <div class="loading-message">Hey you!<br>Please wait a moment..</div> <div id="loveIn" class="blocklove"> <a href="#" class="lovein"><svg class='line' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'> <g transform='translate(2.550170, 3.550158)'> <path d='M0.371729633,8.89614246 C-0.701270367,5.54614246 0.553729633,1.38114246 4.07072963,0.249142462 C5.92072963,-0.347857538 8.20372963,0.150142462 9.50072963,1.93914246 C10.7237296,0.0841424625 13.0727296,-0.343857538 14.9207296,0.249142462 C18.4367296,1.38114246 19.6987296,5.54614246 18.6267296,8.89614246 C16.9567296,14.2061425 11.1297296,16.9721425 9.50072963,16.9721425 C7.87272963,16.9721425 2.09772963,14.2681425 0.371729633,8.89614246 Z'> </path> <path d='M13.23843,4.013842 C14.44543,4.137842 15.20043,5.094842 15.15543,6.435842'></path> </g> </svg></a> <p id="ket">Touch the LOVE!</p> </div> </div> <div id="bodyblur"> <img src="./assets/awan3.jpg" id="wallpaper" /> </div> <!-- Swiper --> <div class="swiper mySwiper"> <div class="swiper-wrapper"> <div class="swiper-slide"> <div id="stiker1" class="scale0 stiker"> <img src="./assets/pusn.gif" /> </div> <h1 id="teks1" class="scale0 itim" style="font-size: 22px;">Sorry 🫠<br><br>>>></h1> </div> <div class="swiper-slide"> <div id="stiker2" class="scale0 stiker sembunyi"> <img src="./assets/g5.gif" /> </div> <div id="scroll-container" class="blocktext"> <p id="teks2" class="itim" style="font-size:17px;margin-left:40px"> <b class="garismerah">Sorry</b> sorry aab main jada nhi bologa please,<br><br> Because... i am stupid 🫣<br><br> <b>please <br>Maine galat bola aur iske liye mujhe bahut afsos hai.💐<br>My Madam ji ,<br>My world,<br>Aage se main aisa kabhi nahi karunga. Kripya mujhe maaf kar dijiye.</b><br><br> aab aur jada time dunga pkka 🥰💗 </p> </div> </div> </div> <div class="swiper-button-next"></div> <div class="swiper-button-prev"></div> <div class="swiper-pagination"></div> </div> <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script> </body> <script> var teksSekarang = 1; const body = document.querySelector("body"); audio = new Audio('' + linkmp3.src); var swiper = new Swiper(".mySwiper", { pagination: { el: ".swiper-pagination", dynamicBullets: false, }, on: { slideChange: function () { var currentIndex = swiper.activeIndex; teksSekarang++; teksScale = document.querySelector('#teks' + teksSekarang); stikerScale = document.querySelector('#stiker' + teksSekarang); Tombol = document.querySelector('#Tombol'); setTimeout(function(){ teksScale.classList.add("scale1"); stikerScale.classList.add("scale1"); if(teksSekarang == 2){ katanimasi() } }, 50); }, }, navigation: { nextEl: ".swiper-button-next", prevEl: ".swiper-button-prev", }, }); var varteks = teks2.innerHTML; teks2.innerHTML = ""; function katanimasi(){ new TypeIt("#teks2", { strings: ["" + varteks], startDelay: 250, speed: 40, cursor: true, afterComplete: function(){ clearInterval(scrollInterval); teks2.innerHTML = varteks; setInterval(berjatuhan, 200); }, }).go(); } window.addEventListener("load", (event) => { window.scrollTo(0, 0); var overlay = document.querySelector(".loading-message"); overlay.style.display = "none"; var tomlv = document.querySelector(".blocklove"); tomlv.style.display = "flex"; }); var sudahKlik = true; document.getElementById('loveIn').innerHTML = '<style>.lovein svg{animation:none;stroke:#ff0000;stroke-width:1.3;fill:none;width:35px;height:35px}</style><label class="lovein"><svg class="line" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="translate(2.550170, 3.550158)"><path d="M0.371729633,8.89614246 C-0.701270367,5.54614246 0.553729633,1.38114246 4.07072963,0.249142462 C5.92072963,-0.347857538 8.20372963,0.150142462 9.50072963,1.93914246 C10.7237296,0.0841424625 13.0727296,-0.343857538 14.9207296,0.249142462 C18.4367296,1.38114246 19.6987296,5.54614246 18.6267296,8.89614246 C16.9567296,14.2061425 11.1297296,16.9721425 9.50072963,16.9721425 C7.87272963,16.9721425 2.09772963,14.2681425 0.371729633,8.89614246 Z"></path><path d="M13.23843,4.013842 C14.44543,4.137842 15.20043,5.094842 15.15543,6.435842"></path></g></svg></label><p id="ket">Touch the LOVE!</p>'; document.getElementById("loveIn").onclick = function() { if (sudahKlik) { audio.play(); document.querySelector(".overlay").style.display = "none"; stiker1.classList.add("scale1"); teks1.classList.add("scale1"); } else { sudahKlik = true; document.getElementById('loveIn').innerHTML = '<style>.lovein svg{animation:none;stroke:#ff0000;stroke-width:1.3;fill:none;width:35px;height:35px}</style><label class="lovein"><svg class="line" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="translate(2.550170, 3.550158)"><path d="M0.371729633,8.89614246 C-0.701270367,5.54614246 0.553729633,1.38114246 4.07072963,0.249142462 C5.92072963,-0.347857538 8.20372963,0.150142462 9.50072963,1.93914246 C10.7237296,0.0841424625 13.0727296,-0.343857538 14.9207296,0.249142462 C18.4367296,1.38114246 19.6987296,5.54614246 18.6267296,8.89614246 C16.9567296,14.2061425 11.1297296,16.9721425 9.50072963,16.9721425 C7.87272963,16.9721425 2.09772963,14.2681425 0.371729633,8.89614246 Z"></path><path d="M13.23843,4.013842 C14.44543,4.137842 15.20043,5.094842 15.15543,6.435842"></path></g></svg></label><p id="ket">Touch the LOVE!</p>'; } } function berjatuhan() { const heart = document.createElement("div"); heart.innerHTML = "<svg class='line spin' style='opacity:.5;z-index:100' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g transform='translate(2.550170, 3.550158)'><path d='M0.371729633,8.89614246 C-0.701270367,5.54614246 0.553729633,1.38114246 4.07072963,0.249142462 C5.92072963,-0.347857538 8.20372963,0.150142462 9.50072963,1.93914246 C10.7237296,0.0841424625 13.0727296,-0.343857538 14.9207296,0.249142462 C18.4367296,1.38114246 19.6987296,5.54614246 18.6267296,8.89614246 C16.9567296,14.2061425 11.1297296,16.9721425 9.50072963,16.9721425 C7.87272963,16.9721425 2.09772963,14.2681425 0.371729633,8.89614246 Z'></path><path d='M13.23843,4.013842 C14.44543,4.137842 15.20043,5.094842 15.15543,6.435842'></path></g></svg>"; heart.className = "heart-icon"; heart.style.left = (Math.random() * 95) + "vw"; heart.style.animationDuration = (Math.random() * 3) + 2 + "s"; document.body.appendChild(heart); } setInterval(function() { var heartArr = document.querySelectorAll(".heart-icon"); if (heartArr.length > 100) { heartArr[0].remove(); } }, 100); const scrollContainer = document.getElementById("scroll-container"); function autoScroll() { scrollContainer.scrollTop += 10; } const scrollInterval = setInterval(autoScroll, 50); </script> </html> |