javascript - css media query not working properly on google chrome -
i working on creating website in php week or more media queries working defined... @media screen , (max-width: 768px) @media screen , (max-width: 600px) ...but chrome stopped working , showing contents of 768px on width of 960px, , on 750px instead of 600px. have refreshed chrome again , again cache, no result. eadge working fine. there problem chrome refreshing during developing website or else? kindly me in weird situation.
@media screen , (max-width: 900px) { .side-btn{ font-size: 100%; margin: 4px 5px; padding: 3% 3%; } } @media screen , (max-width: 768px){ .nav1 ul li{ clear: both; width: 100%; border-right: none; border-bottom: 1px solid grey; } .nav2 { display: block; } .navul{ display: none; } } @media screen , (max-width: 600px) { .startmenu,.itemhead{ font-size: 100%;} .side-btn{ font-size: 80%; margin: 4px 3%; padding: 3% 3%; } .itbody{ height: 340px; } .custom{ margin-top: 3px; width: 100%; text-align: center; margin-left: auto; margin-right: auto; } .inqbasket{ width: 100%; text-align: center; margin-left: auto; margin-right: auto; margin-top: 3px; } .ifcol1{ width: 100%; } .ifcol2{ width: 100%; } }
i've seen weird behavior in chrome few years ago, when didn't render page gpu (check link info: chrome , media queries bug). solution offered there helped me then, put transform: rotatez(0deg);
on body
element. without code example, that`s best guess can make. cheers
Comments
Post a Comment