# Dropdown option style

**URL:** <https://forum.inductiveautomation.com/t/dropdown-option-style/60482>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 8, 2022, 8:38am UTC](https://forum.inductiveautomation.com/t/dropdown-option-style/60482 "2022-06-08T08:38:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [June 8, 2022, 10:41am UTC](https://forum.inductiveautomation.com/t/dropdown-option-style/60482/2 "2022-06-08T10:41:58Z")

</div>

kinda but not very practical

> [@Can we give different colors to the options of Perspective Dropdown Component](https://forum.inductiveautomation.com/t/can-we-give-different-colors-to-the-options-of-perspective-dropdown-component/57514/6):
>
> Unfortunatly the css selector :visited doesnt seem work because the dropdown gets removed by igntion when it closes. or there are no links attachted to the options Now you could i suppose put a binding on dropdownOptionStyle.classes and create a bunch of classes like so DropDownHighlight1 with then a theme.css to use the nthcheild selector However… you will have to make a bunch of styles for every possible selection and make the binding selected the right classes… Not to bad for a few option…

---

_[View the full topic](https://forum.inductiveautomation.com/t/dropdown-option-style/60482)._
