EVOLUTION-NINJA
Edit File: coming_soon.php
<?php echo view('NewIncludes/blog_head_nocontent'); ?> <main> <div class="container-fluid"> <!-- <div class="row"> <div class="col-sm-2 "> </div> --> <div class="col-sm-12 coming" > <div class="container mt-3"> <div class="row "> <div class="col-sm-10 med-content"> </div> <div class="col-sm-2"> <button class="custom-btn btn-2" onclick="back()"><img src="public/assets/home_images/Import_fill.png" alt="back img mx-auto d-block"> Back</button> </div> </div> </div> <div class="row"> <div class="col-sm-4"></div> <div class="col-sm-4"> <div class="container"> <div class="loader1"></div> <div class="loader1"></div> <div class="loader1"></div> </div> <div class="card"> <div class="loader"> <p>COMING</p> <div class="words"> <span class="word">SOON</span> <span class="word">SOON</span> <span class="word">SOON</span> <span class="word">SOON</span> <span class="word">SOON</span> </div> </div> </div> </div> <div class="col-sm-4"></div> </div> </div> </div> </main> <button id="scrollToTopBtn" title="Go to top"><i class="fa fa-arrow-up" aria-hidden="true"></i></button> <!-- ----------------- --> <script> // Get the button var scrollToTopBtn = document.getElementById("scrollToTopBtn"); // When the user scrolls down 20px from the top of the document, show the button window.onscroll = function() { scrollFunction(); }; function scrollFunction() { if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { scrollToTopBtn.style.display = "block"; } else { scrollToTopBtn.style.display = "none"; } } // When the user clicks on the button, scroll to the top of the document smoothly scrollToTopBtn.addEventListener("click", function() { scrollToTop(); }); function scrollToTop() { var currentPosition = document.documentElement.scrollTop || document.body.scrollTop; if (currentPosition > 0) { window.requestAnimationFrame(scrollToTop); window.scrollTo(0, currentPosition - currentPosition / 10); // Adjust the speed here by changing the divisor (8) } } </script> <script> function back(){ window.location.href="<?php echo base_url('products'); ?>" } </script> <?php echo view('NewIncludes/Footer.php');?> <style> @media only screen and (max-width: 600px){ .card{ margin-left: 51px !important; } } .card { /* color used to softly clip top and bottom of the .words container */ /* --bg-color: #212121; background-color: var(--bg-color); padding: 1rem 2rem; border-radius: 1.25rem; */ margin-top: 280px; margin-left: 58px; border: none; } .loader { color: #00599C; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 37px; -webkit-box-sizing: content-box; box-sizing: content-box; height: 50px; padding: 10px 10px; display: -webkit-box; display: -ms-flexbox; display: flex; border-radius: 8px; } .words { overflow: hidden; position: relative; } .words::after { content: ""; position: absolute; inset: 0; color: rgba(5, 141, 251, 1); z-index: 20; } .word { display: block; height: 100%; padding-left: 6px; color: rgba(5, 141, 251, 1); animation: spin_4991 4s infinite; } @keyframes spin_4991 { 10% { -webkit-transform: translateY(-102%); transform: translateY(-102%); } 25% { -webkit-transform: translateY(-100%); transform: translateY(-100%); } 35% { -webkit-transform: translateY(-202%); transform: translateY(-202%); } 50% { -webkit-transform: translateY(-200%); transform: translateY(-200%); } 60% { -webkit-transform: translateY(-302%); transform: translateY(-302%); } 75% { -webkit-transform: translateY(-300%); transform: translateY(-300%); } 85% { -webkit-transform: translateY(-402%); transform: translateY(-402%); } 100% { -webkit-transform: translateY(-400%); transform: translateY(-400%); } } .loader1 { position: absolute; top: 50%; left: 50%; z-index: 10; width: 160px; height: 100px; margin-left: -80px; margin-top: -50px; border-radius: 5px; background: #1e3f57; animation: dot1_ 3s cubic-bezier(0.55,0.3,0.24,0.99) infinite; } .loader1:nth-child(2) { z-index: 11; width: 150px; height: 90px; margin-top: -45px; margin-left: -75px; border-radius: 3px; background: #3c517d; animation-name: dot2_; } .loader1:nth-child(3) { z-index: 12; width: 40px; height: 20px; margin-top: 50px; margin-left: -20px; border-radius: 0 0 5px 5px; background: #6bb2cd; animation-name: dot3_; } @keyframes dot1_ { 3%,97% { width: 160px; height: 100px; margin-top: -50px; margin-left: -80px; } 30%,36% { width: 80px; height: 120px; margin-top: -60px; margin-left: -40px; } 63%,69% { width: 40px; height: 80px; margin-top: -40px; margin-left: -20px; } } @keyframes dot2_ { 3%,97% { height: 90px; width: 150px; margin-left: -75px; margin-top: -45px; } 30%,36% { width: 70px; height: 96px; margin-left: -35px; margin-top: -48px; } 63%,69% { width: 32px; height: 60px; margin-left: -16px; margin-top: -30px; } } @keyframes dot3_ { 3%,97% { height: 20px; width: 40px; margin-left: -20px; margin-top: 50px; } 30%,36% { width: 8px; height: 8px; margin-left: -5px; margin-top: 49px; border-radius: 8px; } 63%,69% { width: 16px; height: 4px; margin-left: -8px; margin-top: -37px; border-radius: 10px; } } .coming{ margin-bottom: 120px; } @media only screen and (max-width: 600px) { .loader { font-size: 30px; } .coming { /* margin-top: -777px; margin-bottom: 121px; */ } .blog_header { /* background-image: url(../images1/blog_head_bg.png) !important; background-repeat: no-repeat; */ background-size: cover !important; } } .no-content { height: 146px; margin-bottom: 15px; } /*-----------coming soon--------------------*/ .custom-btn { width: 100px; height: 35px; color: #fff; border-radius: 5px; /* padding: 10px; */ font-family: 'Lato', sans-serif; font-weight: 500; background: transparent; cursor: pointer; transition: all 0.3s ease; position: relative; display: inline-block; box-shadow: inset 2px 2px 2px 0px rgba(159, 160, 221, 0.5), 7px 7px 20px 0px rgba(149, 179, 224, 0.1), 4px 4px 5px 0px rgba(28, 133, 151, 0.1); outline: none; font-size: 20px; float: right; } .btn-2 { background: linear-gradient(to left, #0160A2, #0198CD, #0160A2); border: none; } </style> <?php echo view('NewIncludes/blog_footer'); ?>