"Counter Up js"
Bootstrap 4.1.1 Snippet by iammohitverma

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Counter up</title> <style> *{ margin: 0px; padding: 0px; box-sizing: border-box; } body { background-color: #55b9f3; } .container { width: 100%; height: 100vh; padding: 100px; display: flex; justify-content: space-between; align-items: center; } .box { width: 18%; height: 250px; display: flex; justify-content: center; align-items: center; border-radius: 15px; background: #55b9f3; box-shadow: 8px 8px 16px #4ca5d8, -8px -8px 16px #5ecdff; } .box .count { color: #111; font-size: 35px; letter-spacing: 2px; } </style> </head> <body> <div class="container"> <div class="box"> <h1 class="count">5000</h1> </div> <div class="box"> <h1 class="count">780</h1> </div> <div class="box"> <h1 class="count">200</h1> </div> <div class="box"> <h1 class="count">900</h1> </div> <div class="box"> <h1 class="count">8000</h1> </div> </div> <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/Counter-Up/1.0.0/jquery.counterup.min.js"></script> <script> $('.count').counterUp({ delay: 10, time: 1000 }); </script> </body> </html>

Related: See More


Questions / Comments: