media query for horizontal code example Example: mediaquery for portrate @media (orientation: portrait) { body { flex-direction: column; } }