Default unit is pixels
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Style> .myFontStyle { fontSize: 20px; color: #9933FF; } .myOtherFontStyle { fontSize: 20; color: #9933FF; } </mx:Style> <mx:Button id="myButton" styleName="myFontStyle" label="Click Here" /> <mx:Button id="myButton2" styleName="myOtherFontStyle" label="Click Here" /> </mx:Application>