@nutui/nutui-react
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
45 lines • 1.35 kB
CSS
/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-countup-list {
display: inline-flex;
height: var(--nutui-countup-height, 32px);
overflow: hidden;
direction: ltr;
}
.nut-countup-listitem {
height: var(--nutui-countup-height, 32px);
overflow: hidden;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
.nut-countup-listitem-number {
margin: 0 var(--nutui-countup-lr-margin, 0);
border-radius: var(--nutui-countup-border-radius, 4px);
color: var(--nutui-countup-color, var(--nutui-color-title));
background-color: var(--nutui-countup-bg-color, inherit);
}
.nut-countup-separator {
display: flex;
height: 80%;
align-items: flex-end;
color: var(--nutui-countup-separator-color, var(--nutui-color-title));
font-size: var(--nutui-countup-base-size, 18px);
font-weight: var(--nutui-font-weight-bold);
}
.nut-countup-number {
display: flex;
flex-direction: column;
align-items: center;
width: var(--nutui-countup-width, auto);
transition: transform 1s ease-in-out;
transform: translate(0, 0);
}
.nut-countup-number-text {
height: var(--nutui-countup-height, 32px);
line-height: var(--nutui-countup-height, 32px);
color: var(--nutui-countup-color, var(--nutui-color-title));
font-size: var(--nutui-countup-base-size, 18px);
font-weight: var(--nutui-font-weight-bold);
}