Desktop to mobile margins Help

Desktop to mobile margins Help
0.0 0

#1

I finished my tribute page project and was pleased with it, until I viewed it on my mobile device. I used margins in the jumbotron class to get a tighter compressed look, but it doesn’t adapt well on a mobile browser. Any help would be greatly appreciated! I’m trying to keep the same look it has on a desktop browser.


#2

Just add a media query to change the values for your

    margin-right:150px;
    margin-left:150px;

to something more appropriate for mobiles


#3

Thanks for the response, do you know where I can find more info on this? I tried searching google but can’t seem to find a clear explanation of how i can keep my margins and adapt them to mobile?


#4

I figured it out ! code%20center