diff --git a/example/styleguide/res/templates/controls.html b/example/styleguide/res/templates/controls.html index 8f11dba4f1..1ea27ecfb4 100644 --- a/example/styleguide/res/templates/controls.html +++ b/example/styleguide/res/templates/controls.html @@ -93,4 +93,74 @@ + +
Checkboxes use a combination of minimal additional markup with CSS to present a custom and common look-and-feel across platforms.
+The basic structure is a label
with a checkbox-type input and an em
element inside. The em
is needed as the holder of the custom element; the input itself is hidden. Putting everything inside the label
allows the label itself to act as a clickable element.
+ ++ +
Radio buttons use the same technique as checkboxes above.
++ ++ +