Skip to content

Commit

Permalink
Site updated: 2020-09-08 20:24:13
Browse files Browse the repository at this point in the history
  • Loading branch information
cosyer committed Sep 8, 2020
1 parent c8863c4 commit 14d9fc4
Show file tree
Hide file tree
Showing 307 changed files with 2,866 additions and 2,729 deletions.
2 changes: 1 addition & 1 deletion 2019/Commit Message规范.html
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ <h2 id="Commit-message检查工具"><a href="#Commit-message检查工具" class=

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/ECMAScript 2016、2017、2018 新特性 .html
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ <h3 id="6、正则表达式相关"><a href="#6、正则表达式相关" class="h

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/ES6Proxy.html
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ <h3 id="和Object-defineProperty-的对比"><a href="#和Object-defineProperty-

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/ES6Reflect对象.html
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ <h3 id="Reflect-setPrototypeOf"><a href="#Reflect-setPrototypeOf" class="headerl

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/EventLoop.html
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ <h2 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/JS函数基础.html
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ <h2 id="箭头函数"><a href="#箭头函数" class="headerlink" title="箭头

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/NodeJSHttp加载静态资源.html
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ <h3 id="解决方案二"><a href="#解决方案二" class="headerlink" title="

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/PWA手记.html
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ <h2 id="注意事项"><a href="#注意事项" class="headerlink" title="注意

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/blur事件与click事件冲突的解决办法.html
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ <h3 id="方案四-动态绑定移除blur事件"><a href="#方案四-动态绑定

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ <h2 id="示例代码"><a href="#示例代码" class="headerlink" title="示例

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/git相关问题场景和命令.html
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ <h3 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/javascript设计模式.html
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ <h3 id="总结-1"><a href="#总结-1" class="headerlink" title="总结"></a>总

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/linux安装mongodb及常见命令.html
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ <h2 id="备份恢复数据库"><a href="#备份恢复数据库" class="headerlin

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ <h2 id="重新安装更新-完成😁"><a href="#重新安装更新-完成😁"

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/npm总结.html
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ <h3 id="常见错误"><a href="#常见错误" class="headerlink" title="常见

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/switch的块级作用域.html
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ <h2 id="可能存在的问题"><a href="#可能存在的问题" class="headerlin

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/use strict.html
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ <h2 id="简洁说明"><a href="#简洁说明" class="headerlink" title="简洁

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/vuex学习笔记.html
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ <h2 id="表单处理"><a href="#表单处理" class="headerlink" title="表单

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/webpack.html
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ <h3 id="使用场景"><a href="#使用场景" class="headerlink" title="使用

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/健康指标.html
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ <h1 id="其他"><a href="#其他" class="headerlink" title="其他"></a>其他</

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/关于requestAnimationFrame.html
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ <h3 id="5-参考"><a href="#5-参考" class="headerlink" title="5. 参考"></a>5

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/前端模块化发展.html
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ <h3 id="2-3-ES6模块和CommonJS模块的差异"><a href="#2-3-ES6模块和Commo

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/前端模块化发展扩展.html
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ <h2 id="其他探索"><a href="#其他探索" class="headerlink" title="其他

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/发布订阅模式.html
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ <h2 class="post-title" itemprop="name headline">事件机制</h2>

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/成为优秀程序员的建议.html
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ <h3 id="101-分享你的知识⭐"><a href="#101-分享你的知识⭐" class="h

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/提问的智慧.html
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ <h2 id="提问结束"><a href="#提问结束" class="headerlink" title="提问

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/效率工作.html
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ <h2 class="post-title" itemprop="name headline">效率工作</h2>

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
47 changes: 39 additions & 8 deletions 2019/浏览器兼容问题总结.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
<meta property="og:site_name" content="cosyer&#39;s Blog">
<meta property="og:description" content="png24位的图片在iE6浏览器上出现背景,解决方案是做成PNG8. 浏览器默认的margin和padding不同。解决方案是加一个全局的*{margin:0;padding:0;}来统一 IE6双边距bug:块属性标签float后,又有横行的margin情况下,在ie6显示margin比设置的大。 浮动ie产生的双倍距离 #box{ float:left; width:10px; ma">
<meta property="article:published_time" content="2019-08-31T17:07:30.000Z">
<meta property="article:modified_time" content="2020-09-05T13:38:14.120Z">
<meta property="article:modified_time" content="2020-09-08T11:14:21.042Z">
<meta property="article:author" content="陈宇(cosyer)">
<meta property="article:tag" content="兼容性">
<meta name="twitter:card" content="summary">
Expand Down Expand Up @@ -413,12 +413,12 @@ <h1 class="site-subtitle" itemprop="description">Blog</h1>



<div class="post-date" data-datetime="2020-09-05T21:38:14+08:00">
<div class="post-date" data-datetime="2020-09-08T19:14:21+08:00">
<div class="post-time-text">9月</div>
<div class="post-time-count">05</div>
<div class="post-time-count">08</div>
<div class="text-desc">
<div class="date-text">更新于</div>
<div class="post-tiem">9月05</div>
<div class="post-tiem">9月08</div>
<div class="post-year">2020</div>
</div>
</div>
Expand Down Expand Up @@ -523,7 +523,7 @@ <h2 class="post-title" itemprop="name headline">浏览器兼容问题总结</h2>
<span class="post-meta-item-text">字数统计:</span>

<span title="字数统计:">
803 (字)
1,061 (字)
</span>


Expand All @@ -539,7 +539,7 @@ <h2 class="post-title" itemprop="name headline">浏览器兼容问题总结</h2>
<span class="post-meta-item-text">阅读时长:</span>

<span title="阅读时长:">
3 (分钟)
4 (分钟)
</span>

</div>
Expand Down Expand Up @@ -610,7 +610,38 @@ <h2 class="post-title" itemprop="name headline">浏览器兼容问题总结</h2>
<li><p>display:inline-block 什么时候会显示间隙?
移除空格、使用margin负值、使用font-size:0、letter-spacing、word-spacing</p>
</li>
<li><p>ul标签内外边距问题ul标签在IE6\IE7中,有个默认的外边距,但是在IE8以上及其他浏览器中有个默认的内边距。
解决方法:统一设置ul的内外边距为0</p>
</li>
<li><p>IE6下图片的下方有空隙
解决方法:给img设置display:block;</p>
</li>
<li><p>IE6下两个float之间会有个3px的bug
解决办法:给右边的元素也设置float:left; </p>
</li>
<li><p>IE6下没有min-width的概念,其默认的width就是min-width </p>
</li>
<li><p>IE6下在使用margin:0 auto;无法使其居中
解决办法:为其父容器设置text-align:center;</p>
</li>
<li><p>被点击过后的超链接不再具有hover和active属性
解决办法:按lvha的顺序书写css样式,</p>
</li>
</ol>
<ul>
<li>“:link”: a标签还未被访问的状态;</li>
<li>“:visited”: a标签已被访问过的状态;</li>
<li>“:hover”: 鼠标悬停在a标签上的状态;</li>
<li>“:active”: a标签被鼠标按着时的状态;</li>
</ul>
<ol start="18">
<li>标准事件绑定
addEventListener/attachEvent、event.target/event.srcElement、XMLHttpRequest/ActiveXObject(‘Microsoft.XMLHTTP’)</li>
</ol>
<ul>
<li>获取dom的父子节点
parentNode/parentElement</li>
</ul>


</div>
Expand Down Expand Up @@ -642,7 +673,7 @@ <h2 class="post-title" itemprop="name headline">浏览器兼容问题总结</h2>
<p><span>本文标题:</span><a href="/2019/%E6%B5%8F%E8%A7%88%E5%99%A8%E5%85%BC%E5%AE%B9%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93.html">浏览器兼容问题总结</a></p>
<p><span>文章作者:</span><a href="/" title="访问 陈宇(cosyer) 的个人博客">陈宇(cosyer)</a></p>
<p><span>发布时间:</span>2019年09月01日 - 01:09</p>
<p><span>最后更新:</span>2020年09月05日 - 21:09</p>
<p><span>最后更新:</span>2020年09月08日 - 19:09</p>
<p><span>原始链接:</span><a href="/2019/%E6%B5%8F%E8%A7%88%E5%99%A8%E5%85%BC%E5%AE%B9%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93.html" title="浏览器兼容问题总结">http://mydearest.cn/2019/%E6%B5%8F%E8%A7%88%E5%99%A8%E5%85%BC%E5%AE%B9%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93.html</a>
<span class="copy-path" title="点击复制文章链接"><i class="fa fa-clipboard" data-clipboard-text="http://mydearest.cn/2019/%E6%B5%8F%E8%A7%88%E5%99%A8%E5%85%BC%E5%AE%B9%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93.html" aria-label=" 复制成功!"></i></span>
</p>
Expand Down Expand Up @@ -966,7 +997,7 @@ <h2 class="post-title" itemprop="name headline">浏览器兼容问题总结</h2>

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/深入了解HTTP.html
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ <h2 id="HTTPS基本过程"><a href="#HTTPS基本过程" class="headerlink" title

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/深入了解instanceof.html
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ <h2 id="重点解析"><a href="#重点解析" class="headerlink" title="重点

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/深入理解JS的类型、值和类型转换.html
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ <h3 id="4、-与"><a href="#4、-与" class="headerlink" title="4、== 与 ===">

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/深入理解JS的继承.html
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ <h2 id="相关链接"><a href="#相关链接" class="headerlink" title="相关

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/租房须知.html
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ <h3 id="退房退租"><a href="#退房退租" class="headerlink" title="退房

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
2 changes: 1 addition & 1 deletion 2019/维生素.html
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ <h4 id="橙子、橘子、柚子、青柠、西柚、柠檬、芦柑的关系。

<div class="theme-info">
<div class="powered-by"></div>
<span class="post-count">Blog总字数: 286.9k字</span>
<span class="post-count">Blog总字数: 288.0k字</span>
</div>

<div class="theme-info">
Expand Down
Loading

0 comments on commit 14d9fc4

Please sign in to comment.