title: CSS Move Icon to Right of Input Field
body: <p>How do I move the magnifying glass to the right hand side in my input field?</p>
  <p>Here's my <a href="http://jsfiddle.net/xhjLyf1k/" rel="nofollow noreferrer">Fiddle</a>.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>@import url("//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css");
  body {
    margin: 30px;
  }
  
  .search {
    position: relative;
    color: #aaa;
    font-size: 16px;
  }
  
  .search input {
    width: 250px;
    height: 32px;
    background: #fcfcfc;
    border: 1px solid #aaa;
    border-radius: 5px;
    box-shadow: 0 0 3px #ccc, 0 10px 15px #ebebeb inset;
  }
  
  .search input {
    text-indent: 32px;
  }
  
  .search .fa-search {
    position: absolute;
    top: 10px;
    left: 10px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="search"&gt;
    &lt;span class="fa fa-search"&gt;&lt;/span&gt;
    &lt;input placeholder="Search term"&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>