Documentation

Everything you can do with Beauter

Forms

Beauter adds responsiveness and effects while also preserving the basic functioning of forms by modifying the tags directly. All the standard HTML form elements are valid.

Along with standard HTML, you can use beauter's utilities and grid system over form elements to control positioning and layout.

Contact information:

Wrap checkbox and radio inputs in a label with <span class="-label-body">.

<form>
<fieldset>
    <legend>Contact information:</legend>
  <div class="row">
    <div class="col m6">
      <label for="Email">Enter email</label>
      <input class="_full-width" type="email" placeholder="test@mail.com" id="Email">
    </div>
    <div class="col m6">
      <label for="Input">Reason for contact</label>
      <select class="_width100" id="Input">
        <option value="Option 1">Help</option>
        <option value="Option 2">Thanks</option>
        <option value="Option 3">Support</option>
      </select>
    </div>
  </div>
  <label for="Message">Message</label>
  <div class="col m12">
  <textarea class="_width100" placeholder="Your message.." id="Message"></textarea>
  </div>
  <label for="Send">
    <input type="checkbox" id="Send">
    <span class="-label-body">Send a copy to yourself</span>
</label>
  <input class=" _primary button" type="submit" value="Submit">
  <input class="button" type="reset" value="Reset">
  <br>
</fieldset>
</form>

Sitemap ..

Code licensed under MIT
Docs under CC BY NC SA 4.0.
Designed with
outboxcraft logoOutboxcraft
© 2017