You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For flexibility, I propose extending the <ratio> type to support:
a single <number> value (so that you could specify aspect-ratio: 1.5 instead of aspect-ratio: 3/2)
maybe, an arbitrary numerical fraction (aspect-ratio: 3.3/2.2)
maybe, a fraction of lengths (aspect-ratio: 1ch/1em)
The "maybes" are because — for the property, if not the media query — they could be replaced with calc() functions if (a) a single number value (the result of the math expression) is accepted as a ratio, and (b) for length fractions, calc division of values with units is actually implemented.
jonjohnjohnson, Crissov, scottkellum and FilipChalupa