I need the margins to adjust based on the screen resolution.
On my 1920x1080 computer, everything looks good. However, on my tablet with a smaller resolution, things start to overlap and look strange.
My ideal solution would be for the text to either get cut off or adapt to fit better on different resolutions.
Currently, I am only using:
margin-left: 375px;
margin-right: 375px;
This applies to certain elements that I want this adjustment for (which is all of them except for backgrounds).
Is there a simple way to achieve this? Thank you.