Forms
Fields with placeholder text
Labels
Submit and Reset Button
Sample Form
Contact Us
Consult with our team online by filling out the form below. If you have specific inquiries regarding our services, please don't hesitate to get in touch. We will respond as soon as possible.
HTML AND CSS Code
HTML CODE
Contact Us
Consult with our team online by filling out the form below. If you have specific inquiries regarding our services, please don't hesitate to get in touch. We will respond as soon as possible.
CSS CODE
input[type="reset"] { background:radial-gradient(white,#fac898); color: black; padding: 1rem 3rem; font-size: large; font-weight: bold; border: 1px solid #cbe948; border-radius: 0.5rem; box-shadow: 0 20px 20px -14px rgba(0, 0, 0, 0.25); margin: 1rem; cursor: pointer; } input[type="reset"]:hover { background:radial-gradient(#ff6961,#fac898); color:black; } input[type="reset"]:active{ background:radial-gradient(white,#fac898); color:#b0b0b1; } input[type="submit"] { background:radial-gradient(white,#69cff9); color: black; padding: 1rem 3rem; font-size: large; font-weight: bold; border: 1px solid #cbe948; border-radius: 0.5rem; box-shadow: 0 20px 20px -14px rgba(0, 0, 0, 0.25); margin: 1rem; cursor: pointer; } input[type="submit"]:hover { background:radial-gradient(#96c789,#69cff9); color:black;; } input[type="submit"]:active{ background:radial-gradient(white,#69cff9); color:#b0b0b1; } /* =============== STRUCTURE =============== */ .wrapper-form { border-radius: 5px; background-color: #f2f2f2; padding: 0px 20px; max-width: 600px; margin: 0 50px 0px 20px; } .wrapper-button { display: flex; justify-content: space-between; } /* =============== FORM CONTROLS =============== */ input, select, textarea { font-size:medium; font-weight: bold; } input[type="text"], select, textarea { width: 100%; padding: 12px; border: 1px solid #cbe948; border-radius: 4px; margin-top: 0.5rem; margin-bottom: 16px; resize: vertical; } input[type="email"] { width: 100%; padding: 12px; border: 1px solid #cbe948; border-radius: 4px; margin-top: 0.5rem; margin-bottom: 16px; resize: vertical; } input[type="number"] { width: 100%; padding: 12px; border: 1px solid #cbe948; border-radius: 4px; margin-top: 0.5rem; margin-bottom: 16px; resize: vertical; } fieldset { margin-bottom: 16px; border: 1px solid #cbe948; } .label-required { font-size: 0.8rem; color: #ff6961; } .containerForm{ background-color:#96c789; padding:2rem 4rem 2rem 2rem; margin:0 2rem 0; border-radius:1rem; box-shadow: 0 20px 20px -14px rgba(0, 0, 0, 0.25); } .containerForm1{ margin-bottom:2rem; }