Materialize CSS Form

Forms are used as a standard way to receive user inputted data. Materialize CSS provides a very beautiful and responsive CSS for form designing. The transitions and smoothness of these elements are very important because of the inherent user interaction associated with forms.

IndexClass nameDescription
1)input-fieldIt is used to set the div container as an input field container. Required.
2)validateIt is used to add validation styles to an input field.
3)activeIt is used to show an input with active style.
4)materialize-textareaIt is used to style a text-area. The text-areas will auto resize to the text inside.
5)filled-inIt show a checkbox with filled box style.

Example

Let's take an example to demonstrate the use of input classes to showcase a sample form.

Test it Now

Output:

Materialize Form 1

List of Input Control

Materialize CSS offers several types of input controls. Following is a list:

IndexInput typesDescription
1)selectIt specifies various types of selects inputs
2)switchesIt specifies various types of switches
3)fileIt specifies various types of file inputs
4)rangeIt specifies various types of range inputs
4)date pickerIt specifies date picker
5)character counterIt specifies character counter





Latest Courses