"Long Inline Form"
Bootstrap 3.1.0 Snippet by maridlcrmn

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <section> <div class="container"> <div class="row"> <form action="#" class="form-inline lead-big" role="form"> <div class="form-group"> <label for="name">Hello, I am <span>Your name</span></label> <input type="text" id="name" placeholder="@maridlcrmn" required> and </div> <div class="form-group"> <label for="company"> I work in <span>Your company</span></label> <input type="text" id="company" placeholder="Awesome Company"> . </div> <div class="form-group"> <label for="freelancer"> I'm looking for <span>Freelance professional</span></label> <select id="freelancer"> <option value="0" selected>Someone</option> <option value="1">Frontend Developer</option> <option value="2">Backend Developer</option> <option value="3">UI/UX Designer</option> <option value="4">Graphic Designer</option> <option value="5">Web designer</option> </select> who </div> <div class="form-group"> <label for="subject"> can help me in <span>Describe your project</span></label> <textarea id="subject" placeholder="big amazing project" required></textarea> and </div> <div class="form-group"> <label for="time"> I have <span>Time Left</span></label> <select id="time"> <option value="0" selected>1 weeks</option> <option value="1">2 weeks</option> <option value="2">3 weeks</option> <option value="3">a month</option> <option value="4">limited time</option> <option value="5">unlimited time</option> </select> for do it. Please, send an </div> <div class="form-group"> <label for="email"> email to <span>Your email</span></label> <input type="email" id="email" placeholder="name@mail.com" required> soon as possible. </div> <button type="submit" class="btn btn-default btn-lg submit"> Find a Freelancer </button> . </form> </div> </div> </section>
section { padding: 100px 0; background-color: #f0f0f0; text-align: center; } .lead-big { font-size: 28px; line-height: 48px; color: #999; } .form-inline input, .form-inline textarea, .form-inline select { max-width: 235px; height: 40px; overflow: hidden; line-height: 40px; background-color: transparent; border: none; border-bottom: 1px dotted; vertical-align: text-bottom; cursor: pointer; } .form-inline .form-group label { position: relative; } .form-inline .form-group label > span { position: absolute; top: -25px; left: 0; font-size: 12px; color: #bdc3c7; opacity: 1; } .submit.btn.btn-lg { font-size: 28px; color: #999; border: 1px dotted; background-color: transparent; border-radius: 0; }

Related: See More


Questions / Comments:

You're the best! This is exactly what I needed down to the scenario.

MaximusPrime () - 9 years ago - Reply 0