Table of Content
Website forms are an essential part of web designing and production because it’s used for information collection. The information can be different, for example, email addresses, audiences’ data, member registrations, survey results, opinions and etc.. Consequently would also discover at the most straightforward variant of touch form on each site.
You will find tens of thousands of versions of form templates, and it’s a massive hassle to obtain the nice and suitable one. To aid you and reduce the number of available possibilities, we chose to give one of the most popular open source contact forms.
How to get an open source contact form?
<div class="form-style-8"> <h2>Login to your account</h2> <form> <input type="text" name="field1" placeholder="Full Name" /> <input type="email" name="field2" placeholder="Email" /> <input type="url" name="field3" placeholder="Website" /> <textarea placeholder="Message" onkeyup="adjust_textarea(this)"></textarea> <input type="button" value="Send Message" /> </form> </div>
The CSS:
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'> <style type="text/css"> .form-style-8{ font-family: 'Open Sans Condensed', arial, sans; width: 500px; padding: 30px; background: #FFFFFF; margin: 50px auto; box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.22); -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.22); -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.22); } .form-style-8 h2{ background: #4D4D4D; text-transform: uppercase; font-family: 'Open Sans Condensed', sans-serif; color: #797979; font-size: 18px; font-weight: 100; padding: 20px; margin: -30px -30px 30px -30px; } .form-style-8 input[type="text"], .form-style-8 input[type="date"], .form-style-8 input[type="datetime"], .form-style-8 input[type="email"], .form-style-8 input[type="number"], .form-style-8 input[type="search"], .form-style-8 input[type="time"], .form-style-8 input[type="url"], .form-style-8 input[type="password"], .form-style-8 textarea, .form-style-8 select { box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; outline: none; display: block; width: 100%; padding: 7px; border: none; border-bottom: 1px solid #ddd; background: transparent; margin-bottom: 10px; font: 16px Arial, Helvetica, sans-serif; height: 45px; } .form-style-8 textarea{ resize:none; overflow: hidden; } .form-style-8 input[type="button"], .form-style-8 input[type="submit"]{ -moz-box-shadow: inset 0px 1px 0px 0px #45D6D6; -webkit-box-shadow: inset 0px 1px 0px 0px #45D6D6; box-shadow: inset 0px 1px 0px 0px #45D6D6; background-color: #2CBBBB; border: 1px solid #27A0A0; display: inline-block; cursor: pointer; color: #FFFFFF; font-family: 'Open Sans Condensed', sans-serif; font-size: 14px; padding: 8px 18px; text-decoration: none; text-transform: uppercase; } .form-style-8 input[type="button"]:hover, .form-style-8 input[type="submit"]:hover { background:linear-gradient(to bottom, #34CACA 5%, #30C9C9 100%); background-color:#34CACA; } </style>