i'm trying to use aspect-ratio inside a
container query but it keeps collapsing to zero when the parent isn't a fixed size. i tried setting an explicit width on the element itself but that totally defeats the purpose of letting the container dictate things.
@container (min-width: 300px) {.card {aspect-ratio: 16 / 9;}}does anyone know a way to make this work without hardcoding a width?