a viewport
definition tells the browser how to render the page. Including one betters visual accessibility on mobile, and improves SEO (search engine optimization).
<meta name="viewport" content="width=device-width, initial-scale=1">
尤其是对手机浏览器,这个viewport告诉浏览器如何排列页面。
Comments
Post a Comment