Tells Internet Explorer to display a webpage in IE10 mode, if possible
1.
This example tells Internet Explorer to display a webpage in IE10 mode, if possible.
<meta http-equiv="X-UA-Compatible" content="IE=10">
This example tells Internet Explorer to display a webpage in last IE mode or chrome core frame, if possible.
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> is better.
2.
<meta name="viewport" content="width=device-width">, this is for mobile.
HTML5 Boilerplate: html5boilerplate.com
h t t p s: // github.com / h5bp/html5-boilerplate/blob/v4.0.0/doc/README.md
This example tells Internet Explorer to display a webpage in IE10 mode, if possible.
<meta http-equiv="X-UA-Compatible" content="IE=10">
This example tells Internet Explorer to display a webpage in last IE mode or chrome core frame, if possible.
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> is better.
2.
<meta name="viewport" content="width=device-width">, this is for mobile.
HTML5 Boilerplate: html5boilerplate.com
h t t p s: // github.com / h5bp/html5-boilerplate/blob/v4.0.0/doc/README.md
评论
发表评论