Skip to content

Instantly share code, notes, and snippets.

@daverau-optimizely
Created August 25, 2016 17:45
Show Gist options
  • Select an option

  • Save daverau-optimizely/e9ac23f980098e46f1edc1ee8cabe658 to your computer and use it in GitHub Desktop.

Select an option

Save daverau-optimizely/e9ac23f980098e46f1edc1ee8cabe658 to your computer and use it in GitHub Desktop.
.oui-text-input--search {
background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16" xml:space="preserve"><g id="Layer_1"><path d="M6.21,12.417C2.786,12.417,0,9.632,0,6.209C0,2.785,2.786,0,6.21,0c3.422,0,6.206,2.785,6.206,6.209 C12.416,9.632,9.632,12.417,6.21,12.417z M6.21,1C3.337,1,1,3.337,1,6.209s2.337,5.208,5.21,5.208 c2.87,0,5.206-2.336,5.206-5.208S9.08,1,6.21,1z"/><path d="M15.5,16c-0.128,0-0.256-0.049-0.354-0.146l-5.25-5.25c-0.195-0.195-0.195-0.512,0-0.707s0.512-0.195,0.707,0l5.25,5.25 c0.195,0.195,0.195,0.512,0,0.707C15.756,15.951,15.628,16,15.5,16z"/></g></svg>'); // #search16
background-repeat: no-repeat;
background-position: left 8px center;
background-size: 16px 16px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment