How to make such option?

5dfb1586e1def485800463.png

How to add option two tags, say h4 and p? If anything, use custom select - niceSelect
April 3rd 20 at 18:38
2 answers
April 3rd 20 at 18:40
Try this: jsfiddle.net/rp4Se/4

Add in option impossible, but you can share the content or add additional attribute data-* which already display the user to custom select. You need to emulate a select, to achieve the desired behavior.
April 3rd 20 at 18:42
On the screen is not likely to select, and its imitation on divas. And diva in CSS you can decorate as you please.

If you still need it select, it is possible to hide it in any convenient way, and using JS to push back the selected values

UPD: read to the end)) to Use the docks niceSelect, either find another plugin that can do that acarapi

Find more questions by tags CSSjQueryHTML