I’m trying to use css to style a select/option html element so that they display as a small list of button with the selected option being highlighted instead of the traditional dropdown menu.
I would’ve simply rewritten the entire thing, but i am editing a shopify theme, and there are too many implications of such change, some of them are above my “pay-grade” let’s say, so i am trying to use the easy way out of just restyling it using css to get the desired result
2
Answers
Sounds like
<select multiple>
might be closer to what you’re looking for. Learn more here: https://www.w3schools.com/tags/att_select_multiple.aspI have done this before like this, but it doesn’t work on mobile devices such as iOS.