title: How do you create a search bar like pinterest?
body: <p><a href="https://kimvij.files.wordpress.com/2014/09/new-interest-icons-plus-featured.png" rel="nofollow">https://kimvij.files.wordpress.com/2014/09/new-interest-icons-plus-featured.png</a></p>
  
  <p>As you can see in the above image, you can select a category in which you can search.  I know can create a search form with a select dropdown that has categories, but the thing is "select" dropdowns are hard to style with css and I wanted to make my own custom button with similar dropdown as pinterest. </p>
  
  <p>The only other method I can think of is using "ul li" to get the values and style the drop down. My question for that is, will I still be able to get the input values of it if I use "ul li" within the form? For eg.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form action="" method="post"&gt;
   &lt;input type="text" name="search"&gt;
   &lt;ul id="dropdown"&gt;
    &lt;li id="category-1"&gt;&lt;/li&gt;
    &lt;li id="category-2"&gt;&lt;/li&gt;
    &lt;li id="category-3"&gt;&lt;/li&gt;
   &lt;/ul&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>if not, what's the best way of doing it?</p>