media query for browser size where width < height?
I tried
@media screen and (max-width: 700px) and (min-height: 700px) {
But that does not work. Please help.
Use Case:
- if (width > height), I align items horizontally
- if (width < height), I WANT TO align items vertically.