I want my website to work well for both desktop and mobile view. When viewed on desktop, I want it to have a pretty big margins on the left and right side. (Image below) . However, when I shrink to to mobile view. They need to reduce to around 10px. How can I do this?
Currently I only have a
.body {
margin-left: 200px;
margin-right: 200px;
But this doesn't work well for mobile view...