Service workers: Allow HTTPS pages arrived at via HTTP redirect to use SW
[chromium-blink-merge.git] / third_party / polymer / v1_0 / components-chromium / paper-radio-button / README.md
blobeee7af61510af1d3814ec67d1679252d4515b35f
1 # paper-radio-button
3 `paper-radio-button` is a button that can be either checked or unchecked.
4 User can tap the radio button to check or uncheck it.
6 Use a `<paper-radio-group>` to group a set of radio buttons.  When radio buttons
7 are inside a radio group, exactly one radio button in the group can be checked
8 at any time.
9 Example:
11 ```html
12 <paper-radio-button></paper-radio-button>
13 <paper-radio-button>Item label</paper-radio-button>
14 ```
15 Styling a radio button:
17 ```html
18 <style is="custom-style">
19   :root {
20     /* Unchecked state colors. */
21     --paper-radio-button-unchecked-color: #5a5a5a;
22     --paper-radio-button-unchecked-background-color: #fff;
23     --paper-radio-button-unchecked-ink-color: #5a5a5a;
25     /* Checked state colors. */
26     --paper-radio-button-checked-color: #009688;
27     --paper-radio-button-checked-ink-color: #0f9d58;
29     --paper-radio-button-label-color: black;
30   }
31 </style>
32 ```