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 innerHTML, innerText, 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

SEO 搜索引擎 学习笔记

Speech text Reader with Javascript

canvas学习笔记