![]() |
VOOZH | about |
Bulma is a modern CSS framework based on flexbox. It ships with pre-styled elements and components which can be used together to make beautiful interfaces. In this article, we will be learning the Bulma Form Field.
Bulma form field is a simple container that contains a label element, a Bulma form control, and an optional help text. The field container maintains consistent spacing between the form fields.
Form field classes:
Syntax:
<div class="field"> <label class="label">...</label> <div class="control"> ... </div> <p class="help">...</p> </div>
Example: The below example shows the field container of a form.
Output:
Reference: https://bulma.io/documentation/form/general/#form-field