PolymerElements / paper-button

A button à la Material Design
https://www.webcomponents.org/element/PolymerElements/paper-button
138 stars 64 forks source link

Cannot remove underline when used with <a> #167

Closed kenchris closed 6 years ago

kenchris commented 7 years ago

When wrapped by a tag to become a link, it is impossible to remove the underline. Changing the color works fine. This also shows on the demo page.

   a paper-button,
    a:active paper-button,
    a:visited paper-button {
      color: #000;
      text-decoration: none !important;
    }
keanulee commented 7 years ago

@kenchris You should set text-decoration: none on the a selector instead:

a { text-decoration: none }
valdrinkoshi commented 6 years ago

Closing this as solution was provided