Reputation: 7303
I have class com.company.project.views.SomeClass
. I have
<mx:Form id="form">
<mx:FormItem>
<s:Label/>
</mx:FormItem>
<mx:FormItem>
<s:Label/>
</mx:FormItem>
<mx:FormItem>
<s:Label/>
</mx:FormItem>
</mx:Form>
in it. How can I set color to every Label
in my form (the same color for all) via CSS? Thanks
Upvotes: 2
Views: 142
Reputation: 14221
Try something like the following:
mx|FormItem s|Label
{
color:red;
}
Or even to narrow:
mx|Form#form mx|FormItem s|Label
{
color:red;
}
You can read more about available selector here.
Upvotes: 4