Search code examples
dartpaper-elements

Changing background colour of a paper-dropdown-menu


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;
}

Solution

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

    or just the input element

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

    If this isn't what you want, can you please add the HTML to your question that produces the layout you have in your screenshot.