Last active
August 29, 2015 14:23
-
-
Save viko16/e3655df61eea990cf95a to your computer and use it in GitHub Desktop.
屏蔽 IE6 7 #html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 8]> | |
<style type="text/css">html{overflow:hidden}body{height:100%;overflow:auto}#upgradeyoubrowser{position:fixed;height:100%;width:100%;top:0;left:0;bottom:0;right:0;z-index:9999;background:#fff;padding:30px}#upgradeyoubrowser h3{padding:30px}#upgradeyoubrowser a{color:#08c;text-decoration:underline}</style> | |
<div id="upgradeyoubrowser"> | |
<h1>是时候升级你的浏览器了</h1> | |
<h2>你正在使用过期的 Internet Explorer,请升级或更换后再访问。</h2> | |
<h3>建议你下载安装,以便更好地访问我们的网站 : )</h3> | |
<ul> | |
<li><a href="http://windows.microsoft.com/zh-cn/windows/upgrade-your-browser" target="_blank">Microsoft Internet Explorer 9</a></li> | |
<li><a href="https://www.google.com/chrome/browser/desktop/index.html" target="_blank">Google Chrome</a></li> | |
<li><a href="https://www.mozilla.org/zh-CN/firefox/desktop/" target="_blank">Mozilla Firefox</a></li> | |
</ul> | |
</div> | |
<![endif]--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment