title: How to create material design input form using css and bootstrap?
body: <p>I want to design following material design input form using css and bootstrap. Following code is I am currently using. But it doesn't provide exact result I want.</p>
  
  <p>Code Pen Link : <a href="https://codepen.io/chrisoncode/pen/IdGKH" rel="noreferrer">View Source Code Here</a></p>
  
  <p>HTML CODE : </p>
  
  <pre><code>&lt;div class="container"&gt;
  
    &lt;h2&gt;Google Material Design in CSS3&lt;small&gt;Inputs&lt;/small&gt;&lt;/h2&gt;
  
    &lt;form&gt;
  
      &lt;div class="group"&gt;      
        &lt;input type="text" required&gt;
        &lt;span class="highlight"&gt;&lt;/span&gt;
        &lt;span class="bar"&gt;&lt;/span&gt;
        &lt;label&gt;Name&lt;/label&gt;
      &lt;/div&gt;
  
      &lt;div class="group"&gt;      
        &lt;input type="text" required&gt;
        &lt;span class="highlight"&gt;&lt;/span&gt;
        &lt;span class="bar"&gt;&lt;/span&gt;
        &lt;label&gt;Email&lt;/label&gt;
      &lt;/div&gt;
  
    &lt;/form&gt;
  
    &lt;p class="footer"&gt;
      a &lt;a href="https://scotch.io/tutorials/css/google-material-design-input-boxes-in-css3" target="_blank"&gt;tutorial&lt;/a&gt; by &lt;a href="https://scotch.io" target="_blank"&gt;scotch.io&lt;/a&gt;
    &lt;/p&gt;
  
  &lt;/div&gt;
  
  </code></pre>
  
  <p>But I want this design : </p>
  
  <p><a href="https://i.stack.imgur.com/wSoxc.png" rel="noreferrer"><img src="https://i.stack.imgur.com/wSoxc.png" alt="enter image description here"></a></p>