[英]Chrome Developer Tool is not showing responsiveness
I am having issues while checking responsiveness of my website on chrome developer tool.我在 chrome 开发者工具上检查我的网站的响应时遇到问题。 When I resize my chrome window, It shows responsivness
当我调整我的 chrome window 的大小时,它显示出响应性
In the following image chrome window width is 768px在下图中,chrome window 宽度为 768px
But when I use Toggle Device Toolbar
in chrome it does not show responsiveness as in the following image.但是当我在 chrome 中使用
Toggle Device Toolbar
时,它不会显示如下图所示的响应能力。 The width is 768px.宽度为 768 像素。
My index.html file is as follows我的index.html文件如下
<!DOCTYPE html>
<html>
<head>
<title>Personal Site</title>
<link rel="stylesheet" type="text/css" href="./styles/style.css">
<link rel="stylesheet" type="text/css" href="./styles/tab.css">
<link rel="stylesheet" type="text/css" href="./styles/mobile.css">
</head>
<body>
All the Code lies here
</body>
</html>
My CSS files are as follows我的 CSS 文件如下
style.css样式.css
All the styles are here no media queries
tab.css选项卡.css
@media only screen and (max-width: 768px) and (min-width: 501px)
{
All the styles are here
}
mobile.css手机.css
@media only screen and (max-width: 500px)
{
All the styles are here
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.