title: Limit displayed options in a dropdown using css
body: <p>Is there any css property by which i can limit the displayed options in a dropdown.</p>
  
  <p>I know that setting <strong>size = 'value'</strong> in select limits the displayed options in drpdown to that value. Is this achievable using css.</p>
  
  <pre><code>&lt;select size="5"&gt;
  &lt;option&gt;1&lt;/option&gt;
  &lt;option&gt;2&lt;/option&gt;
  &lt;option&gt;3&lt;/option&gt;
  &lt;option&gt;4&lt;/option&gt;
  &lt;option&gt;5&lt;/option&gt;
  &lt;option&gt;6&lt;/option&gt;
  &lt;option&gt;7&lt;/option&gt;
  &lt;option&gt;8&lt;/option&gt;
  &lt;option&gt;9&lt;/option&gt;
  &lt;option&gt;10&lt;/option&gt;
  &lt;option&gt;11&lt;/option&gt;
  &lt;option&gt;12&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>Using this the no of options visible will be limited to 5. Can this be done in css.
  Actually I have a lot of dropdowns in my application and adding size to each of them is very time consuming and i may need to change the no of items displayed afterwards.</p>