By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.

    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

can I use only landscape and portrait modes in media queries for responsive design


If all screens are either landscape or portrait is it enough to query (container or media) the orientation to achieve a responsive design?
Not sure what you mean by "screens" -> If all screens are '''
It will be easier to answer your query if you provide the code or a link.

If you just try using the query. You should know the answer yourself.
I understand that you think I'm being naive, but if I take 2 formats 1. mobile portrait mode where there's only 1 column and divs are stacked vertically. 2. mobile landscape mode where divs are arranged according to available space horizontally and vertically and this view is just enlarged as the device screen size increases. I think that this model could apply to a majority of websites.

New Threads

Buy us a coffee!

Top Bottom