Re: [csswg-drafts] [css-values] Trigonometric functions (#2331)

It's great news to hear that trigonometric functions are being considered for CSS.

Bit of a shameless plug here but I use square root when calculating the typographic scale across different devices meaning sometimes the scale needs to change. This is easier to do by just changing one CSS variable and letting CSS calculate the sizes dynamically responsively. Having `sqrt()` in CSS will solve a lot of issues for me.

I created a workaround for now using PostCSS.
https://github.com/limitlessloop/postcss-sqrt

Also created `pow()` but it only works for whole numbers.
https://github.com/limitlessloop/postcss-pow

-- 
GitHub Notification of comment by limitlessloop
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2331#issuecomment-583594795 using your GitHub account

Received on Friday, 7 February 2020 20:22:09 UTC