Set style declaration for multiple component

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Style>
@namespace mx "http://www.adobe.com/2006/mxml";
mx|Button, mx|TextInput, mx|Label {
fontStyle: italic;
fontSize: 24;
}
</mx:Style>
<mx:Button id="myButton" label="Click Here"/>
<mx:Label id="l1" text="My Label"/>
<mx:TextInput id="ti1" text="Input text here"/>
</mx:Application>
Related examples in the same category