conventions for selector names of the CSS Style

Hi friends,

is it better to name the custom css selector for combobox with v-filterselect prefix or just to name “myownstyle”:

The Examples

1 case

.v-filterselect-colored {
	background: red;

2 case

colored {
	background: red;

java code :

ComboBox myCombobox;
// creation and fill with content



This depends on if you only want to apply the red background to certain comboboxes, or if you want to reuse this bacgkround color more generally. However, having .colored as the only selector is weak (and in this case probably doesn’t match what you intended).