Good day!

After a long and painful search on the vast expanses of the internet, after all attempts to learn the truth were in vain, I decided to ask a question on the HashCode.

So. There is an adaptive layout. The following is written to the head:

<link rel="stylesheet" href="css/style.css" /> <link rel="stylesheet" media="screen and (max-width: 480px)" href="css/mobile.css" /> 

What you need to register so that the page in landscape mode on mobile devices is displayed as well as in portrait mode.

Thank.

    1 answer 1

    For these modes is responsible sv-in orientation. See ready-made solutions here: Media Queries for Standard Devices

    • @ psycho_Octopus, thanks! But that is the question ... how to pack all this "good" into a link and in what order. Including media for iPhone 5 - Astor
    • And why do you pack everything in a link? Do you think different CSS files will be loaded for different devices? - psycho_Octopus