Answer the question
In order to leave comments, you need to log in
How to implement the display of the site at a minimum screen resolution (phones)?
Hello people, I need help. I am building a website with responsive design using @media requests, everything works fine, but the problem appears when the website is opened on a phone. The minimum site width of 480px
is used next. the code:
@media (max-width: 699px) {
.container {
max-width: 699px;
padding-right: 30px;
padding-left: 30px;
margin-right: auto;
margin-left: auto;
}
.header {
min-width: 480px;
}
.maincontent, .beforefooter, .footer, .footerphonesmall, .afterheader, .preimblock, .tarifblock, .opisblockforpc, .opisblockformid {
min-width: 480px;
}
}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Answer the question
In order to leave comments, you need to log in
in a hat
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=1"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
html {
overflow-y: scroll;
}
Try like this:
<meta name="viewport" content="width=device-width, maximum-scale=1">
how to open: https:
//drive.google.com/file/d/0B_NLP2Ic1Pr6b1QwO...
how to open:
https://drive.google.com/file/d/0B_NLP2Ic1Pr6d2VxW...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question