JSFiddle - React, Tailwind, and code Playground

Material Design Form Apparently material design is the cool thing these days.

by Jennifer Perrin

HTML

<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<header>
  <nav>
    <ul id="breadcrumbs">
      <li><a href="#">Home</a></li>
      <li><a href="#">Contact</a></li>
      <li><a href="#">Email</a></li>
    </ul>
      <input type="checkbox" id="dropdown_button" />
    <label for="dropdown_button">Display Dropdown</label>
    <ul id="dropdown">
      <li><a href="#">About Us</a></li>
      <li><a href="#">Products</a></li>
      <li><a href="#">Services</a></li>
      <li><a href="#">Contact</a></li>
    </ul>
  </nav>
  <h1>Contact the Team</h1>
</header>
<section>
  <h2>We'd Love to Hear From You</h2>
  <p>Do you have any lingering questions or comments? Fill out this brief form, and we'll get back to you within a business day. If you need a quicker reply, consider beginning a free trial of our <a href="#">consulting service</a>.</p>
  <form>
    <span class="legend">Tell us about yourself.</span>
    <div class="flexparent">
      <div>
          <input type="text" name="name" id="name" required="" />
        <label for="text">Your Name</label>
      </div>
      <div>
          <input type="text" name="email" id="email" required="" />
        <label for="text">Your Email</label>
      </div>
    </div>
    <div class="flexparent">
      <div>
        <span class="legend">To what do we owe the pleasure?</span>
          <input type="radio" name="reason" id="reason_inquiry" value="inquiry">
        <label for="reason_inquiry">Products or Services Inquiry</label> <br>
          <input type="radio" name="reason" id="reason_support" value="support">
        <label for="reason_support">Technical Questions</label> <br>
          <input type="radio" name="reason" id="reason_other" value="other">
        <label for="reason_other">Other Reasons</label>
      </div>
      <div>
        <span class="legend">How should we get in touch?</span>
          <input type="checkbox" name="contact" id="contact_phone"...

CSS

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600);
@import url(http://fonts.googleapis.com/css?family=Raleway);

* {
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}

body {
  background-color: #ccc;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #444;
}

h1, h2, h3 {
  font-family: "Raleway", Arial, sans-serif;
}

h1 {
  color: #fff;
  font-size: 35px;
}

h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

header {
  position: relative;
  height: 200px;
  margin-bottom: -75px;
  background-color: #3498db;
  padding: 60px 20px 0 20px;
  color: #fff;
}
header a {
  color: #fff;
  text-decoration: none;
}
header a:hover {
  text-decoration: underline;
}
header nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  background-color: #2980b9;
}
header #breadcrumbs li {
  display: inline;
  font-size: 18px;
  line-height: 35px;
  margin-left: 10px;
}
header #breadcrumbs li:first-of-type {
  margin-left: 20px;
}
header #breadcrumbs li:not(:first-of-type)::before {
  content: '>';
  padding-right: 10px;
}
header #dropdown_button {
  display: none;
}
header label[for="dropdown_button"] {
  font-size: 0;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  height: 35px;
  cursor: pointer;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAQAAAC00HvSAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfeDAkBEyl+h8a9AAAADGlUWHRDb21tZW50AAAAAAC8rrKZAAAALUlEQVRIx2NgGAUjCjAimP//k6wZrpuJOq5hGo2Q0eQ3mvxGwWjyGwWjgEgAAK1nBhDSfijYAAAAAElFTkSuQmCC");
}
header #dropdown_button:checked ~ #dropdown {
  height: 140px;
}
header #dropdown_button:checked + label {
  background-color: #20638f;
}
header #dropdown {
  position: absolute;
  top: 35px;
  right: 0;
  width: 200px;
  height: 0;
  overflow: hidden;
  background: #2980b9;
  z-index: +1;
  -webkit-transition: height...

JavaScript

// Font Awesome 4.2.0