Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于我的网站 TheExpeditioner.com,我添加了特定于移动设备的 CSS,开头为:
@media only screen and (max-width: 767px) {
我也包含<meta name="viewport" content="width=device-width, initial-scale=1">在标题中。
<meta name="viewport" content="width=device-width, initial-scale=1">
但是,我的网站不会在移动设备中显示移动 CSS。我错过了什么吗?这与 Wordpress 和/或插件有关吗?
这是我现在注意到的一件事
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) {
它位于第 1499 行,并且没有右括号。