Answer the question
In order to leave comments, you need to log in
Why is responsive layout not working on a phone?
principle of operation:
@media only screen and (max-width: 481px) {
}
@media only screen and (max-width: 769px) {
}
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/mob.css" rel="stylesheet" type="text/css">
Answer the question
In order to leave comments, you need to log in
You probably forgot to write
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question