Pedretti Jr
KPCKevin Powell - Community
•Created by Pedretti Jr on 1/14/2024 in #front-end
Margins Not Shrinking?
Hello guys, soo I'm working on a hotel site and I'm having trouble with making only the margins of my container shrink, when ever i drag the screen towards the mobile size only the content of the container shrinks and not the margins. My ideal scenario would be the margins shrinking until the content meets the side of the screen and then I use a media query to adjust the width of the container and so on... any help would be much appreciated 🙏
5 replies