JSFiddle - React, Tailwind, and code Playground

by Akihiko Kusanagi

HTML

<span id="odometer" class="abc odometer">123</span>

CSS

</style><!-- This closes the open style tag above. Just a jsFiddle thing. Please ignore. -->


<!-- Odometr includes -->
<link rel="stylesheet" href="http://github.hubspot.com/odometer/themes/odometer-theme-default.css" />
<script src="http://github.hubspot.com/odometer/odometer.js"></script>

<!-- Extra styles for this example -->
<style>
.odometer {
    font-size: 21px; font-weight: 900;
}

JavaScript

setTimeout(function(){
    odometer.innerHTML = 456;
}, 1000);