UNPKG

@antonkolesnik/counter

Version:

React number increase/decrease animation

13 lines (11 loc) 194 B
.counter-number { font-weight: bold; position: relative; overflow: hidden; } .next, .current { line-height: 1; transition-property: transform; transition-timing-function: linear; }