-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhistogram.css
67 lines (60 loc) · 1.19 KB
/
histogram.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.histogram {
display: flex;
flex-direction:column;
box-sizing: border-box;
border: 1px solid var(--grey-3);
border-radius: 8px;
max-width: 100%;
padding:16px 24px 24px 24px;
}
.histogram__header {
display: flex;
flex-direction: row;
justify-content: space-between;
font-family: Inter;
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 24px;
color: var(--black);
}
.histogram__header-view {
color: var(--blue);
}
.histogram__header-num {
font-size: 20px;
line-height: 26px;
margin-bottom: 39px;
}
.histogram__columns {
display: flex;
flex-direction: row;
Justify-content: stretch;
flex-wrap: nowrap;
width: 100%;
overflow:hidden;
align-items: flex-end;
animation: ani 0.6s ease-out;
transform-origin:bottom;
}
.histogram__column {
flex: 1 1 auto;
overflow: hidden;
background-color: var(--blue);
min-width: 1px;
margin: 0 0 0 1px;
}
.histogram__column:first-child {
margin: 0;
}
@keyframes ani {
0% {
transform: scaleY(0);
}
50% {
transform: scaleY(0);
}
100% {
transform: scaleY(1);
}
}