0

I have a paper-droopdown-menu that displays normally. But I would like to change the backgroud colour as shown in the graphic below enter image description here

I have tried the following but it did not affect the background.

 * /deep/ paper-dropdown-menu::shadow #menu {
    background-color: #eee;
    border: 1px solid #ccc;
}
4

1 回答 1

0
  paper-dropdown-menu {
    background-color: red;
  }

或者只是输入元素

  paper-dropdown-menu::shadow #control {
    background-color: red;
  }

如果这不是您想要的,您能否将 HTML 添加到您的问题中,以生成您在屏幕截图中的布局。

于 2014-09-27T14:45:22.673 回答