<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Zxhnext</title>
    <description></description>
    <link>https://zxhnext.github.io/</link>
    <atom:link href="https://zxhnext.github.io/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Thu, 21 Mar 2019 11:07:25 +0000</pubDate>
    <lastBuildDate>Thu, 21 Mar 2019 11:07:25 +0000</lastBuildDate>
    <generator>Jekyll v3.7.4</generator>
    
      <item>
        <title>ECMAScript 6入门</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#安装&quot; id=&quot;markdown-toc-安装&quot;&gt;安装&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;安装&quot;&gt;安装&lt;/h2&gt;
首先下载和安装node.js到你的机器上。打开终端/命令行，输入&lt;code class=&quot;highlighter-rouge&quot;&gt;npm install --global babel&lt;/code&gt;。 按下回车运行该命令，然后第一次安装Babeljs到你的机器。 Babeljs就是ES6的编译器。&lt;br /&gt;
运行命令： &lt;code class=&quot;highlighter-rouge&quot;&gt;npm install -g browserify&lt;/code&gt;。

</description>
        <pubDate>Mon, 25 Dec 2017 22:14:54 +0000</pubDate>
        <link>https://zxhnext.github.io/ecmascript6/js-es6-01.html</link>
        <guid isPermaLink="true">https://zxhnext.github.io/ecmascript6/js-es6-01.html</guid>
        
        <category>js</category>
        
        <category>ECMAScript6</category>
        
        
        <category>ECMAScript6</category>
        
      </item>
    
      <item>
        <title>前端常用资源</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#一-css框架&quot; id=&quot;markdown-toc-一-css框架&quot;&gt;一. css框架&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;一-css框架&quot;&gt;一. css框架&lt;/h2&gt;
H-ui &lt;a href=&quot;http://www.h-ui.net/index.shtml&quot;&gt;http://www.h-ui.net/index.shtml&lt;/a&gt;&lt;br /&gt;
zui &lt;a href=&quot;http://zui.sexy/&quot;&gt;http://zui.sexy/&lt;/a&gt;&lt;br /&gt;
拼图 &lt;a href=&quot;http://www.pintuer.com/&quot;&gt;http://www.pintuer.com/&lt;/a&gt;

</description>
        <pubDate>Sat, 23 Dec 2017 15:50:21 +0000</pubDate>
        <link>https://zxhnext.github.io/%E6%8F%92%E4%BB%B6/qianduanchajian.html</link>
        <guid isPermaLink="true">https://zxhnext.github.io/%E6%8F%92%E4%BB%B6/qianduanchajian.html</guid>
        
        <category>插件</category>
        
        
        <category>插件</category>
        
      </item>
    
      <item>
        <title>webpack实现bootstrp的功能定制</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#一-配置webpack&quot; id=&quot;markdown-toc-一-配置webpack&quot;&gt;一 配置webpack&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;一-配置webpack&quot;&gt;一 配置webpack&lt;/h2&gt;
&lt;ol&gt;
  &lt;li&gt;新建一个文件夹,初始化&lt;code class=&quot;highlighter-rouge&quot;&gt;npm init&lt;/code&gt;(文件夹不能命名为webpack,默认已安装git node,建议使用翻墙工具,如蓝灯,&lt;a href=&quot;https://github.com/getlantern/forum/issues/833&quot;&gt;下载地址&lt;/a&gt;),然后下载webpack(时间较长)
    &lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;npm install --save-dev webpack
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ol&gt;

</description>
        <pubDate>Fri, 22 Dec 2017 15:50:21 +0000</pubDate>
        <link>https://zxhnext.github.io/css/bootstrap-dingzhi.html</link>
        <guid isPermaLink="true">https://zxhnext.github.io/css/bootstrap-dingzhi.html</guid>
        
        <category>css</category>
        
        <category>Bootstrap</category>
        
        <category>less</category>
        
        <category>响应式</category>
        
        
        <category>css</category>
        
      </item>
    
      <item>
        <title>CSS百分比padding制作图片自适应布局</title>
        <description>
css知识点：当padding/margin取形式为百分比的值时，无论是left/right，还是top/bottom，都是以父元素的width为参照物的！

</description>
        <pubDate>Mon, 27 Nov 2017 22:14:54 +0000</pubDate>
        <link>https://zxhnext.github.io/css/css-padding.html</link>
        <guid isPermaLink="true">https://zxhnext.github.io/css/css-padding.html</guid>
        
        <category>css</category>
        
        <category>padding</category>
        
        
        <category>css</category>
        
      </item>
    
      <item>
        <title>20 个 CSS 高级技巧汇总</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#1-黑白图像&quot; id=&quot;markdown-toc-1-黑白图像&quot;&gt;1. 黑白图像&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;1-黑白图像&quot;&gt;1. 黑白图像&lt;/h2&gt;
这段代码会让你的彩色照片显示为黑白照片，是不是很酷？
&lt;div class=&quot;language-css highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nt&quot;&gt;img&lt;/span&gt;&lt;span class=&quot;nc&quot;&gt;.desaturate&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;nl&quot;&gt;filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;grayscale&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;100%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;nl&quot;&gt;-webkit-filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;grayscale&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;100%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;nl&quot;&gt;-moz-filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;grayscale&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;100%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;nl&quot;&gt;-ms-filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;grayscale&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;100%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;nl&quot;&gt;-o-filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;grayscale&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;100%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

</description>
        <pubDate>Sun, 26 Nov 2017 22:14:54 +0000</pubDate>
        <link>https://zxhnext.github.io/css/css-advanced.html</link>
        <guid isPermaLink="true">https://zxhnext.github.io/css/css-advanced.html</guid>
        
        <category>css</category>
        
        
        <category>css</category>
        
      </item>
    
      <item>
        <title>CSS 居中布局技巧</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#水平居中元素&quot; id=&quot;markdown-toc-水平居中元素&quot;&gt;水平居中元素：&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#方式一css3-transform&quot; id=&quot;markdown-toc-方式一css3-transform&quot;&gt;方式一：CSS3 transform&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;水平居中元素&quot;&gt;水平居中元素：&lt;/h2&gt;

&lt;h3 id=&quot;方式一css3-transform&quot;&gt;方式一：CSS3 transform&lt;/h3&gt;
&lt;div class=&quot;language-css highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nc&quot;&gt;.parent&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;nl&quot;&gt;position&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;relative&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nc&quot;&gt;.child&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;nl&quot;&gt;position&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;absolute&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;nl&quot;&gt;left&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;50%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;nl&quot;&gt;transform&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;translateX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;-50%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

</description>
        <pubDate>Thu, 23 Nov 2017 22:14:54 +0000</pubDate>
        <link>https://zxhnext.github.io/css/css-center.html</link>
        <guid isPermaLink="true">https://zxhnext.github.io/css/css-center.html</guid>
        
        <category>css</category>
        
        
        <category>css</category>
        
      </item>
    
      <item>
        <title>JavaScript This 的六道坎</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#第一层世界尽头&quot; id=&quot;markdown-toc-第一层世界尽头&quot;&gt;第一层：世界尽头&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

this说白了就是找大佬，找拥有当前上下文（context）的对象（context object）。

大佬可以分为六层，层数越高权力越大，this只会认最大的。

&lt;h2 id=&quot;第一层世界尽头&quot;&gt;第一层：世界尽头&lt;/h2&gt;
权力最小的大佬是作为备胎的存在，在普通情况下就是全局，浏览器里就是window；在use strict的情况下就是undefined。

</description>
        <pubDate>Wed, 22 Nov 2017 22:14:54 +0000</pubDate>
        <link>https://zxhnext.github.io/this/js-this.html</link>
        <guid isPermaLink="true">https://zxhnext.github.io/this/js-this.html</guid>
        
        <category>js</category>
        
        <category>this</category>
        
        
        <category>this</category>
        
      </item>
    
      <item>
        <title>关于js中的回调函数callback</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#一-搞清楚异步和同步&quot; id=&quot;markdown-toc-一-搞清楚异步和同步&quot;&gt;一 .搞清楚异步和同步&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#同步sync异步async&quot; id=&quot;markdown-toc-同步sync异步async&quot;&gt;同步sync/异步async&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;一-搞清楚异步和同步&quot;&gt;一 .搞清楚异步和同步&lt;/h2&gt;
&lt;h3 id=&quot;同步sync异步async&quot;&gt;同步sync/异步async&lt;/h3&gt;
举个小例子&lt;br /&gt;
1.早上起来不论你是先刷牙还是先洗脸，都要等一个事情完毕后才能进行下一项，这就是一个同步的例子&lt;br /&gt;
2.然后刷牙的时候你也可以烧水喝 （不用等你刷完牙）这就是一个异步的例子
来段异步代码示例

</description>
        <pubDate>Mon, 20 Nov 2017 22:14:54 +0000</pubDate>
        <link>https://zxhnext.github.io/callback/js-callback.html</link>
        <guid isPermaLink="true">https://zxhnext.github.io/callback/js-callback.html</guid>
        
        <category>js</category>
        
        <category>callback</category>
        
        
        <category>callback</category>
        
      </item>
    
      <item>
        <title>详解面向对象、构造函数、原型与原型链</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#一对象的定义&quot; id=&quot;markdown-toc-一对象的定义&quot;&gt;一、对象的定义&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;一对象的定义&quot;&gt;一、对象的定义&lt;/h2&gt;

在ECMAScript-262中，对象被定义为“无序属性的集合，其属性可以包含基本值，对象或者函数”。

也就是说，在JavaScript中，对象无非就是由一些列无序的key-value对组成。其中value可以是基本值，对象或者函数。

</description>
        <pubDate>Wed, 25 Oct 2017 22:14:54 +0000</pubDate>
        <link>https://zxhnext.github.io/js/js-object.html</link>
        <guid isPermaLink="true">https://zxhnext.github.io/js/js-object.html</guid>
        
        <category>面向对象</category>
        
        
        <category>js</category>
        
      </item>
    
      <item>
        <title>前端必备常用正则表达式</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#一校验数字的表达式&quot; id=&quot;markdown-toc-一校验数字的表达式&quot;&gt;一、校验数字的表达式&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;一校验数字的表达式&quot;&gt;一、校验数字的表达式&lt;/h2&gt;
&lt;ol&gt;
  &lt;li&gt;数字：
    &lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;^[0-9]*$
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ol&gt;

</description>
        <pubDate>Sun, 22 Oct 2017 22:14:54 +0000</pubDate>
        <link>https://zxhnext.github.io/%E6%AD%A3%E5%88%99/js-zhengze01.html</link>
        <guid isPermaLink="true">https://zxhnext.github.io/%E6%AD%A3%E5%88%99/js-zhengze01.html</guid>
        
        <category>正则</category>
        
        
        <category>正则</category>
        
      </item>
    
  </channel>
</rss>
