CSS Forms
The look of an HTML form can be greatly improved with CSS.
The look of an HTML form can be greatly improved with CSS.
Styling Input Fields
Use the width property to determine the width of the input field.
Preview
Padded Inputs
Use the padding property to add space inside the text field.
Tip: When you have many inputs after each other, you might also want to add some margin.
Preview
Styling Submit Buttons
Use background-color to colorize the submit button and color to control the text color of the button.
Preview