我正在使用此https://angular-ui.github.io/bootstrap/#!#getting_started来实现分页。

我很容易用

<uib-pagination  ng-change="pageChanged()" max-size="5" total-items="100" ng-model="currentPage" items-per-page="5"></uib-pagination>


生成的链接已应用了引导程序样式,但我想为生成的链接应用自定义CSS样式。我该怎么做?

最佳答案

覆盖您要更改的CSS属性。
例如

.pagination>.active>a {
  background: yellow;
 }


Example

关于javascript - 自定义样式以进行分页,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/46684006/

10-12 00:48
查看更多