<form action="#" method="post" class="row">
  <div class="col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
    <input type="text" required="" placeholder="Full name" id="name" name="name">
    <label for="name">Full name</label>
  </div>
  <div class="col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
    <input type="text" required="" data-parsley-trigger="change" data-parsley-type="email" placeholder="Email address" id="email" name="email">
    <label for="email">Email Address</label>
  </div>
  <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
    <textarea name="message" id="message" required="" placeholder="How can I help you?"></textarea>
    <label for="message">How can I help you?</label>
  </div>
  <div class="col-xl-6 col-lg-6 col-md-4 col-sm-12 col-12">
    <div data-sitekey="6LcEwj4UAAAAAEQkrT7_E_uIWxEOO-psAhpzcU0V" data-callback="submitForm" data-size="invisible" class="recaptcha"></div>
    <button type="submit" class="send">Send message</button>
  </div>
</form>
form {
  padding: 2rem;
}

form div {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 1.5rem;
}

form div label {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-family: "Karla", sans-serif;
  font-size: 0.75rem;
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
  opacity: 0;
  order: 1;
}

form div input {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  appearance: none;
  border-radius: 5px;
  background-color: #f4f4f4;
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  width: 100%;
  font-family: "Karla", sans-serif;
  font-size: 1rem;
  line-height: 2rem;
  color: #555555;
  position: relative;
  display: block;
  order: 2;
  border: 1px solid transparent;
}

form div input:valid + label {
  opacity: 1;
}

form div input:focus {
  border: 1px solid #5f6edc;
}

form div textarea {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-family: "Karla", sans-serif;
  font-size: 1rem;
  line-height: 2rem;
  color: #555555;
  appearance: none;
  border-radius: 5px;
  background-color: #f4f4f4;
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  width: 100%;
  position: relative;
  display: block;
  order: 2;
  resize: none;
  height: 120px;
  border: 1px solid transparent;
}

form div textarea:valid + label {
  opacity: 1;
}

form div textarea:focus {
  border: 1px solid #5f6edc;
}

form div button {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
  font-family: "Karla", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  background-color: #ff4a5d;
  color: #ffffff;
  border: none;
  max-width: 210px;
  cursor: pointer;
}

form div button:hover {
  background-color: #5f6edc;
}
// No need to :D
Run Pen

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta.2/css/bootstrap.css

External JavaScript

This Pen doesn't use any external JavaScript resources.