But when passing through breakpoint, navigation disappears even on laptops, how to make it disappear only on mobiles, and on desktops, it just shrinks and that's it?

@media only all and (max-width: 720px) { .navigation { display: none; } } 
  • Determine the type of device through the user-agent. - Enikeyschik

0