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.
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0" />
这需要在嵌入或链接任何其他样式之前?
不,HTMLMetaTag 独立于 CSS。
我认为 HTMLMetaTag 将在任何样式之前执行,因为 CSSDeviceAdaptation 在设置视口时比元标记重要。