odometer.js---smoothly transitioning number


Odometer is a Javascript and CSS library for smoothly transitioning numbers.
Github here

Step1:
link css theme  http://github.hubspot.com/odometer/themes/odometer-theme-digital.css
there are 7 themes file here

link js file here
http://github.hubspot.com/odometer/odometer.js

Step2:



set the innerHTMLinnerText, or use jQuery's .text() or .html() methods to change their contents, and the animation will happen automatically.

More info here




Popular posts from this blog

Speech text Reader with Javascript

Fancyapps — easily build overlay windows with carousel

列表浮动的局限——float:left 下一行错位