Re: Can we have more maths in calc()?

If I can have _just two_ additional calc() features, min() plus being
allowed to divide one <length> by another (the result being a
dimensionless number) would mean not needing JavaScript in a scenario
I encountered yesterday: the script in the attached HTML file could be
replaced with

    #outer { transform: scale(calc(min(640px/100vw, 480px/100vh))); }

Received on Monday, 7 April 2014 01:36:35 UTC