UNPKG
@antonkolesnik/counter
Version:
latest (1.1.0)
1.1.0
React number increase/decrease animation
antonkolesnik.com/counter
kolesnikanton/counter
@antonkolesnik/counter
/
lib
/
styles.css
13 lines
(11 loc)
•
194 B
CSS
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
.counter-number
{
font-weight
: bold;
position
: relative;
overflow
: hidden; }
.next
,
.current
{
line-height
:
1
;
transition-property
: transform;
transition-timing-function
: linear; }