Hey,
Code:
padding-top: calc(100% / (var(--aspect-ratio)));
gets compiled to:
padding-top: calc(100%/var(--aspect-ratio));
And this is wrong.
Chrome and Firefox don't respect the var() without parenthesis around it and so the code is not working as expected.
Hey,
Code:
padding-top: calc(100% / (var(--aspect-ratio)));gets compiled to:
padding-top: calc(100%/var(--aspect-ratio));And this is wrong.
Chrome and Firefox don't respect the
var()without parenthesis around it and so the code is not working as expected.