html5 - Issue with meta viewport -


i'd front-end framework responsive got issue... have margin-right body...

my meta :

<meta name="viewport" content="width=device-width, initial-scale=1"> 

my screenshot (iphone): https://space.zeo.net/g/3vgkg

my screnshot (mac book pro): https://space.zeo.net/g/51bm2

if using layout based on bootstrap or similar framework, have built margins @ narrow screens.

when want element extend full width, remove adding negative left , right margins @ appropriate breakpoint, , add padding text has breathing space left , right.

something similar following might work you:

@media screen , (max-width: 767px) {  .nav{    margin:0 -20px 0 -20px;    padding:0 20px 0 20px;   } }   

without seeing url, it's difficult more specific started.

good luck!


Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

php - Redirect and hide target URL -