0

Is it possible to change the margins dynamically based on the windows width?

For example: margin: 100px 200px 50px; when the window is at full size and when you resize the window it starts lessening the margins by increments of 10, for example.

Now I'm using @media, which works but doesn't look really it. The margins basically snap when the width is 1500px.

TylerH
  • 20,799
  • 66
  • 75
  • 101

0 Answers0