【问题标题】:How to change Angular-UI Bootstrap Datepicker popup's style using CSS?如何使用 CSS 更改 Angular-UI Bootstrap Datepicker 弹出窗口的样式?
【发布时间】:2018-12-23 14:32:25
【问题描述】:

我正在使用ui-bootstrap-tpls-2.5.0.min.js。我在特定的 html 中更改了下拉菜单的背景颜色。

.dropdown-menu {
   background-color: transparent;
   box-shadow: none;
}

但它也使 datepicker 的背景透明。我知道为什么会这样,所以我清除了那条线,但没有任何改变。

所以我想像这样使用 CSS 选择器更改 datepicker 弹出窗口的背景,

.datepicker .ul{
    background-color: white;
}
//this is an example code.

我必须选择什么选择器来更改日期选择器的背景?

【问题讨论】:

    标签: css angularjs twitter-bootstrap angular-ui-bootstrap


    【解决方案1】:

    如果这是您需要的,则需要添加突出显示的这两种样式。

    编码愉快:)

    【讨论】:

    • 谢谢!现在我看到它有很多相同级别的课程。
    猜你喜欢
    • 2014-07-02
    • 1970-01-01
    • 1970-01-01
    • 2014-07-19
    • 1970-01-01
    • 1970-01-01
    • 2012-08-22
    • 1970-01-01
    • 2014-03-07
    相关资源
    最近更新 更多