[css3-values] Predefined constants in calc() notation

Hi,

I just made a beautiful rectangle using golden ratio but the following code
doesn’t really look nice:

calc(1.6180339887498948482*10em)

I know I can define a custom variable and use it instead but prefefined
constants (PHI, PI…) and functions (sqrt) would be better – compare:

calc(phi*10em)


Also sorry if this was already requested, I could’t find it anywhere.

Jan Tojnar

Received on Friday, 18 January 2013 05:58:45 UTC