[flexcoders] Re: combining multiple styles

2009-11-20 Thread mitchgrrt
Sort of.

.leftTab, .rightTab {
fontFamily: Rockwell;
fontSize: 20;
}

.leftTab {
color: #ff;
}

.rightTab {
color: #00ff00;
}

leftTab and rightTab will share the first set of declarations, and then each 
one will use the additional declarations that are just for it.  Not sure if 
that's what you wanted.



--- In flexcoders@yahoogroups.com, Joel Stransky stranskydes...@... wrote:

 In a Flex .css document, is there any shorthand for using the same value on
 multiple styles?
 For instance:
 
 .leftTab{
   selectedUpSkin, selectedOverSkin, selectedDownSkin:
 Embed(source=myImage.png);
 }
 
 -- 
 --Joel Stransky
 stranskydesign.com





Re: [flexcoders] Re: combining multiple styles

2009-11-20 Thread Joel Stransky
Thanks Mitch,
You're showing multiple selectors where I wanted to combine multiple styles
in one selector.
The CSS equivalent of:
myBox.x = myBox.y = 10;
Is what I was hoping for.


On Fri, Nov 20, 2009 at 8:22 AM, mitchgrrt mitch_g...@hotmail.com wrote:



 Sort of.

 .leftTab, .rightTab {
 fontFamily: Rockwell;
 fontSize: 20;
 }

 .leftTab {
 color: #ff;
 }

 .rightTab {
 color: #00ff00;
 }

 leftTab and rightTab will share the first set of declarations, and then
 each one will use the additional declarations that are just for it. Not sure
 if that's what you wanted.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Joel
 Stransky stranskydes...@... wrote:
 
  In a Flex .css document, is there any shorthand for using the same value
 on
  multiple styles?
  For instance:
 
  .leftTab{
  selectedUpSkin, selectedOverSkin, selectedDownSkin:
  Embed(source=myImage.png);
  }
 
  --
  --Joel Stransky
  stranskydesign.com
 

  




-- 
--Joel Stransky
stranskydesign.com