Changing font of an option | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Changing font of an option

Does anyone know how to change the font of every option in a select input type. So far I have only found a way to change tags and the options are consired to be text. So is there a way to change the font of a string with javascript is what I'm asking. I was tring to make something like a font selection drop down bar.

24th Dec 2016, 10:06 PM
Feupus
Feupus - avatar
2 Answers
+ 4
I'll see if that's possible thanks for the input.😁
24th Dec 2016, 10:18 PM
Feupus
Feupus - avatar
+ 2
I think you must implement a custom select list... Maybe Bootstrap ( or the equivalent by the W3C: w3c.css ) can provide more or less a good base for that?
24th Dec 2016, 10:16 PM
visph
visph - avatar