blueprintjs - 为 blueprintjs 组件覆盖 css 的正确方法?
问题描述
!important
我创建了一个简单的按钮并通过自定义类对其进行样式设置,但除非我强制在 css 文件中使用,否则它不起作用。如何在不使用的情况下覆盖样式!important
?
<Button
className="asset-selector-btn"
rightIcon="chevron-down"
text="Pair"
/>
.asset-selector-btn {
background: #19191a;
font-size: 24px;
}
解决方案
推荐阅读
- python - 使用 numpy 查找每个 bin 的索引
- windows - 如何解决 .bat 文件上的“启动”错误命令
- kubernetes - 如何创建只能访问 Kubernetes 中特定命名空间的 linux 系统帐户?
- spring - 使用百里香叶和弹簧靴看不到图像
- r - R 中的自动化:如何将单个进程应用于不同的列
- apache-spark - Spark 执行器类每次创建新的序列化程序
- c++ - 无法将 int 应用于 partial_apply 的结果
- python - 如何在Python中多次复制位列表,反之亦然
- reactjs - 如何命名以反应路线以在链接中使用它?
- arrays - 推送嵌套数组中的元素( Mongodb )