We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.33.0
能否像ProgressBar 进度条一样使用渐变色 <ProgressBar percent={70} style={{ '--fill-color': 'linear-gradient(to right, var(--adm-color-primary), var(--adm-color-success))', }} />
ProgressCircle组件设置不生效
The text was updated successfully, but these errors were encountered:
ProgressCircle的颜色是 svg stroke 写的
CSS Stroke 不支持渐变效果。这是因为 CSS Stroke 主要用于定义图形元素的轮廓线样式,而不是填充样式。因此,无法使用渐变效果来改变图形元素的边框线条样式。
这里有个canvas 支持渐变的,希望对你有用 https://codepen.io/miaoduanwang/pen/vpgYBB
Sorry, something went wrong.
No branches or pull requests
Version of antd-mobile
5.33.0
能否像ProgressBar 进度条一样使用渐变色
<ProgressBar
percent={70}
style={{
'--fill-color':
'linear-gradient(to right, var(--adm-color-primary), var(--adm-color-success))',
}}
/>
ProgressCircle组件设置不生效
The text was updated successfully, but these errors were encountered: