0 votes

Select - Option with two font types

How can I format with two fonts or colors the attribute of an element to distinguish between two fields?

for example Ensenada, Baja California Mex Ensenada, be in one font or color and Baja California Mex be in another font or color and look something like this: introducir la descripciĆ³n de la imagen aquĆ­

0voto

Rhuan Points 61

If you want to do it with a <select><option></option></select> can't. Unfortunately, browsers give very few options for styling the inputs .

0voto

Sergio Cauich Points 1446

It would be something like this that you need to look for https://silviomoreto.github.io/bootstrap-select/examples/ check the section: Menu header

HolaDevs.com

HolaDevs is an online community of programmers and software lovers.
You can check other people responses or create a new question if you don't find a solution

Powered by:

X