![]() |
VOOZH | about |
Bulma is a free and open-source CSS framework based on Flexbox. It is component-rich, compatible, and well documented. It is highly responsive in nature. It uses classes to implement its design.
The Bulma framework supports and allows the users to build forms using Bulma form controls. The framework supports <form>, <button>, <input>, <textarea> and <label> elements of HTML. The user can build a complete form using Bulma as it provides the best UI design. Bulma uses a control container for maintaining the flow of the form. It uses field class as a container for adding equal spacing between the form elements. There are various classes used in the form controls and they are discussed below.
Bulma Form Classes:
Syntax:
<form> <div class="field"> <label class="label">Label</label> <div class="control"> <input class="input" type="text" placeholder="Text input"> <input class="input" type="radio"> <input class="input" type="checkbox"> .... </div> </div> </form>
Example: The below example illustrates the Bulma Form.
Output: