search

Home  >  Q&A  >  body text

css3 - Why does margin-left fail at certain resolutions?

Why the margin-left fails in the two different resolutions in the above picture

仅有的幸福仅有的幸福2781 days ago1016

reply all(2)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-06-13 09:25:36

    That’s not invalid, that’s overwritten. Look at the above img:nth-child(3)

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-06-13 09:25:36

    is covered because you wrote the @media query
    @media can set different styles for different screen sizes
    In the second picture, the effective margin-left:40

    reply
    0
  • Cancelreply