With Astral.CSS, designing structured, user-friendly forms is simple. Whether you're building a basic form, a complex grid layout, or an inline form, our framework makes it easy to create forms that are both functional and stylish.
Every group of form fields should be wrapped in a <form>
element. While Astral.CSS doesn't apply default styling to the <form>
itself, the framework leverages powerful browser features to enhance your forms.
<form>
default to type="submit", so always be specific and set the type for clarity.
Additionally, you can disable every form element by applying the disabled attribute on the <form>
element.
For more complex layouts with multiple columns or varied widths, you can use Astral.CSS’s grid system. This allows you to create sophisticated form layouts with ease.
For even more intricate layouts, use the following structure:
Astral.CSS's grid system allows you to control the width of columns with ease. You can specify different column classes like col-7
, .col-md-7
, or .col-lg-8
to make some columns take up more space than others.
Designed and built with ♥ by Rume Aluya.