Skip to content

Instantly share code, notes, and snippets.

@claudia-romano
Last active November 8, 2017 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save claudia-romano/629cc5f6d0bf2863b5b592f51a2b4fe0 to your computer and use it in GitHub Desktop.
Save claudia-romano/629cc5f6d0bf2863b5b592f51a2b4fe0 to your computer and use it in GitHub Desktop.
<form>
<fieldset class="js-nc-form-buttons">
<legend>This is the radio selection</legend>
<p class="nc-button-wrapper">
<input type="radio" name="color" id="color_1" value="red">
<label for="color_1">
Red
</label>
</p>
<p class="nc-button-wrapper">
<input type="radio" name="color" id="color_2" value="yellow">
<label for="color_2">
Yellow
</label>
</p>
</fieldset>
<fieldset class="js-nc-form-buttons">
<legend>This is the checkbox selection</legend>
<p class="nc-button-wrapper">
<input type="checkbox" name="fruit" id="fruit_1" value="orange">
<label for="fruit_1">
Orange
</label>
</p>
<p class="nc-button-wrapper">
<input type="checkbox" name="fruit" id="fruit_2" value="apple">
<label for="fruit_2">
Apple
</label>
</p>
</fieldset>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment