Answers for "increase the size of select box in html"

CSS
0

how to make the select box font size small in css

optgroup { font-size:40px; }
<select>
  <optgroup>
    <option selected="selected" class="service-small">Service area?</option>
    <option class="service-small">Volunteering</option>
    <option class="service-small">Partnership & Support</option>
    <option class="service-small">Business Services</option>
  </optgroup>
</select>
Posted by: Guest on May-27-2021
0

how to set option size to select in html css

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<select>
  <option>Select your University</option>
  <option>Bangladesh University of Engineering and Technology</option>
  <option>Mawlana Bhashani Science and Technology University</option>
</select>
 Run code snippetHide results
Posted by: Guest on December-28-2021

Code answers related to "increase the size of select box in html"

Browse Popular Code Answers by Language