@supports not (container-type: inline-size) { @media screen and (max-width: 1024px) { .child { flex-direction: column; } } }