Styling Forms in CSS


Improve the appearance of forms by styling input fields, labels, and buttons.

Source Code

input[type="text"], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments