| OLD | NEW |
| 1 paper-button | 1 paper-button |
| 2 ============ | 2 ============ |
| 3 | 3 |
| 4 Material Design: <a href="http://www.google.com/design/spec/components/buttons.h
tml">Buttons</a> | 4 Material Design: <a href="http://www.google.com/design/spec/components/buttons.h
tml">Buttons</a> |
| 5 | 5 |
| 6 `paper-button` is a button. When the user touches the button, a ripple effect em
anates | 6 `paper-button` is a button. When the user touches the button, a ripple effect em
anates |
| 7 from the point of contact. It may be flat or raised. A raised button is styled w
ith a | 7 from the point of contact. It may be flat or raised. A raised button is styled w
ith a |
| 8 shadow. | 8 shadow. |
| 9 | 9 |
| 10 Example: | 10 Example: |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 By default, the ripple is the same color as the foreground at 25% opacity. You m
ay | 36 By default, the ripple is the same color as the foreground at 25% opacity. You m
ay |
| 37 customize the color using this selector: | 37 customize the color using this selector: |
| 38 | 38 |
| 39 ```css | 39 ```css |
| 40 /* make #my-button use a blue ripple instead of foreground color */ | 40 /* make #my-button use a blue ripple instead of foreground color */ |
| 41 #my-button::shadow paper-ripple { | 41 #my-button::shadow paper-ripple { |
| 42 color: blue; | 42 color: blue; |
| 43 } | 43 } |
| 44 ``` | 44 ``` |
| 45 The opacity of the ripple is not customizable via CSS. | 45 The opacity of the ripple is not customizable via CSS. |
| OLD | NEW |