The list of regulations 1440px does not work for 1920px



  • Hey!


    I'm retrieving the site at different sizes from 1440px to 375px. Everything went well, and it was exactly what goes down, but when I got back to 1920px, I found that the styles don't come from 1440px. ♪ Use the media as follows:

    @media screen and (max-width: 1920px) {...}
    @media screen and (max-width: 1440px) {...}
    @media screen and (max-width: 1280px) {...}
    ...
    

    If I do. @media screen and (min-width: 1440px)It works, but! All styles are taken strictly from 1440px I can't rule them.


    For a long time, the question had been formulated and was not convinced of its correctness, so I'm glad to add it to the commentaries. Thank you, everyone!

    UPD: For 1440px Для 1440px

    For 1920px Для 1920px



  • To apply styles for different conditions, divide the conditions by comma:

    @media screen and (max-width: 1440px), 
           screen and (max-width: 1920px) {
      ...
    }
    


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2