Tell me, when you change the scale, some blocks "leave."

I need to prescribe margin: auto

site

  • You need to prescribe the width in percent - venom
  • one
    First you need to read at least something about the layout! Then add: <meta name="viewport" content="width=device-width, initial-scale=1"> Arrange html! Remove ERRORS in CSS! This is for starters ... - HamSter

1 answer 1

Apply viewport + sizes , as Elena Semenchenko recommended in the comments. Specify dimensions in%, not px. If static dimensions are needed, then use em and / or rem - info W3 + more info W3