Wild how far you can push "customizable select" with just #CSS nerdy.dev/nice-select
Post
@nerdy.dev Looks lovely, I’m doing something similar atm. But I’m stuck with wanting to ”remote closing” the menu via JS also. Is there something similar to showPicker - but inverted - coming, do you know? Like hidePicker()
@nerdy.dev Another thing: I notice you use `fieldset` instead of `optgroup`, is that because styleability? I have had a hard time styling my optgroups.. but kept them becuase semantics, I guess.
fieldset/legend is the approved semantic way to create an optgroup that you can style 👍🏻
0 reposts0 likes
I thought it was optgroup + legend? codepen.io/editor/lukew... - this seems to work?
codepen.ioUntitledA code demo by Luke Warlow created on CodePen
@nerdy.dev oooh, i'll take your word on that one, let's play!