Element related units

Have new units W and H which reference that classes values set for Width and Height. This would make it easy to create elements with a certain aspect ratio. Say you had a DIV that you wanted to always be at a 2:1 aspect ratio you could either set its width to '2H' or its height to '0.5W'.

  • Greg Nelson
  • Feb 21 2019