I am working on a project involving an HTML Drop-down menu. Check out the code I have so far:
http://jsfiddle.net/dineshk/u47xjqLv/
HTML Code
<select>
<option class="first" style="display:none;">HH</option>
<option class="green">Hello</option>
<option>Magazine</option>
</select>
In my code, I've set the first Option
to Display:none,
which successfully hides it from the drop-down list. However, I'm struggling to add color to this hidden option as it serves as the heading of the drop-down. Any advice or solutions would be greatly appreciated!