响应式网站开发注意事项

技术文章 2020-12-29 15:18:41 49

摘要

1、head区需要添加如下代码<metaname="viewport"content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><metaname="apple-mobile-web-app-capable"content="yes"><metaname="apple-m……

1、head区需要添加如下代码


<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">

<meta name="apple-mobile-web-app-capable" content="yes">

<meta name="apple-mobile-web-app-status-bar-style" content="black">

<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1">


评论(0)
1422369665