0 Replies Latest reply on Sep 3, 2010 3:43 AM by Fletchgqc

    Flex CSS Shorthand Property Value Assignments

    Fletchgqc

      What is the fastest way to set the padding on an element in Flex 4 CSS? Is it:

      padding-top: 5

      padding-bottom: 6

      padding-left: 7

      padding-right: 8

       

      ?

       

      This is a bit tedious. In HTML/CSS you can do

      padding: 8 3

      (top and bottom = 8, left and right = 3)

      or

      padding: 8

      (all padding = 8)

       

      These are called shorthand property value assignments, or something like that. Does Flex4 have anything like that?