摘要:
来自:http://blogread.cn/it/article/2242?f=sa附录的几篇英文文章写得很好:参考资料Understanding Internet Explorer Rendering BehaviourNotes on HTML ReflowEFFICIENT JAVASCRIPT 阅读全文
摘要:
根据jq document.ready的实现原理,贴上js模拟实现该功能的代码:(function () { var ie = !!(window.attachEvent && !window.opera); //判断ie var wk = /webkit//(/d+)/i.test(navigator.userAgent) && (RegExp.$1 < 525); //判断webkit内核 var fn = []; var run = function () { for (var i = 0; i < fn.length; i++) fn[i]( 阅读全文
摘要:
参考了这篇博文,自己实现了下面的例子:http://www.99css.com/archives/146自适应圆角实现,传统方法: <div class="rc"> <b class="top"> <b class="rc1"></b> <b class="rc2"></b> </b> <div class="bd"> <p>LGM!</p> </div> < 阅读全文