| @-ms-viewport{ | |
| width: device-width; | |
| } |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| (function() { | |
| if ("-ms-user-select" in document.documentElement.style && navigator.userAgent.match(/IEMobile\/10\.0/)) { | |
| var msViewportStyle = document.createElement("style"); | |
| msViewportStyle.appendChild( | |
| document.createTextNode("@-ms-viewport{width:auto!important}") | |
| ); | |
| document.getElementsByTagName("head")[0].appendChild(msViewportStyle); | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment