Fork me on GitHub

2022年3月23日

手写的一个兼容到ie6的提示更换浏览器的提示框

摘要: const content = ` var isIE = !!window.ActiveXObject || "ActiveXObject" in window function isWeiXin(){ var ua = window.navigator.userAgent.toLowerCase( 阅读全文

posted @ 2022-03-23 14:06 康心志 阅读(42) 评论(0) 推荐(0) 编辑

ie低版本的一些兼容性问题

摘要: 1.ie8以下不支持doucment.getElementByClassName的方式获取dom元素解决方案:使用doucument.getElementById来替代 2.ie6不支持position:fixed 解决方案:使用absolute或者relative定位3.垂直居中不支持 不支持es 阅读全文

posted @ 2022-03-23 12:57 康心志 阅读(70) 评论(0) 推荐(0) 编辑

导航