使用Bootstrap 4 bootstrap-table时如何更改'rows per page '选择框的背景颜色?
How do I change the background color of the 'rows per page ' selector box when using Bootstrap 4 bootstrap-table?
作为标准,它是深灰色背景上的白色文本,位于格式化 table.
正下方
谢谢
菲尔
见附图。Section of table showing rows per page selector box
现在我想我已经整理好了...
我已经覆盖了 btn-secondary 的 bootstrap CSS。我从 Bootstrap 4 CSS 文件中复制了 btn-secondary 代码,用我想要的颜色对其进行了编辑,并在原始 Bootstrap 之后的 html 部分添加了新样式4 CSS link.
不过,如果这种颜色变化可以定义为 bootstrap-table 中的一个选项就好了。
菲尔
作为标准,它是深灰色背景上的白色文本,位于格式化 table.
正下方谢谢 菲尔
见附图。Section of table showing rows per page selector box
现在我想我已经整理好了...
我已经覆盖了 btn-secondary 的 bootstrap CSS。我从 Bootstrap 4 CSS 文件中复制了 btn-secondary 代码,用我想要的颜色对其进行了编辑,并在原始 Bootstrap 之后的 html 部分添加了新样式4 CSS link.
不过,如果这种颜色变化可以定义为 bootstrap-table 中的一个选项就好了。
菲尔