{"id":159359,"date":"2012-11-19T21:35:04","date_gmt":"2012-11-19T17:35:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=159359"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=159359","title":{"rendered":"<span class=\"post_title\">\u041f\u043e\u0434\u0445\u043e\u0434\u044b \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e<\/span>"},"content":{"rendered":"<div class=\"content html_format\">       \u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u044b\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u043e\u043c, \u043c\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u043c\u0441\u044f \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0442\u0435\u0445\u043d\u0438\u043a\u0430\u043c\u0438 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043b\u0443\u0447\u0448\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e \u0434\u043b\u044f \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u0441 \u043d\u0438\u0437\u043a\u0438\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u0430\u0436\u0443\u0442\u0441\u044f \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u043c\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u044f \u043f\u043e\u043a\u0430\u0436\u0443 \u0432\u0430\u043c \u0447\u0435\u0442\u044b\u0440\u044b\u0435 \u0433\u043b\u0430\u0432\u043d\u044b\u0445 \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0441 \u0438\u0445 \u0434\u043e\u0441\u0442\u043e\u0438\u043d\u0441\u0442\u0432\u0430\u043c\u0438 \u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430\u043c\u0438. \u0422\u0440\u0438 \u0438\u0437 \u043d\u0438\u0445 \u0441\u0434\u0435\u043b\u0430\u043d\u043d\u044b \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e CSS \u0438 \u043e\u0434\u0438\u043d \u2014 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c JavaScript.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/cdn.css-tricks.com\/wp-content\/uploads\/2012\/11\/open.jpg\" alt=\"image\"\/><br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u0412 \u043a\u043e\u0434\u0435, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u043c \u0432 \u0441\u0442\u0430\u0442\u044c\u0435, \u044f \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u044b\u0435 \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u044b, \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u0434 \u0441\u0442\u0438\u043b\u0435\u0439 \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043a \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044e \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044e. \u0412 \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0443\u0435\u0442\u0441\u044f SCSS. \u041a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 <a href=\"http:\/\/codepen.io\/\">CodePen<\/a>, \u0433\u0434\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 CSS.<\/p>\n<p>  \u0412\u0441\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044b \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 HTML \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u043d\u0430\u0437\u044b\u0432\u0430\u044e \u00ab\u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e\u00bb. <a href=\"http:\/\/www.w3.org\/TR\/xhtml-role\/\">\u0410\u0442\u0440\u0438\u0431\u0443\u0442 role<\/a> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0447\u0442\u043e\u0431\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0442\u0438\u043f: \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043c\u0435\u043d\u044e (full-horizontal), \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a (select), \u043d\u0438\u0441\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u0435 \u043c\u0435\u043d\u044e (custom-dropdown) \u0438 canvas.<\/p>\n<pre><code class=\"html\">&lt;nav role=&quot;&quot;&gt;   &lt;ul&gt;     &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Stream&lt;\/a&gt;&lt;\/li&gt;     &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Lab&lt;\/a&gt;&lt;\/li&gt;     &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Projects&lt;\/a&gt;&lt;\/li&gt;     &lt;li&gt;&lt;a href=&quot;#&quot;&gt;About&lt;\/a&gt;&lt;\/li&gt;     &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Contact&lt;\/a&gt;&lt;\/li&gt;   &lt;\/ul&gt; &lt;\/nav&gt; <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0441\u0442\u0438\u043b\u0435\u0439 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/CSS\/Media_queries\">\u043c\u0435\u0434\u0438\u0430 \u0437\u0430\u043f\u0440\u043e\u0441<\/a> \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432:<\/p>\n<pre><code class=\"css\">@media screen and (max-width: 44em) {  } <\/code><\/pre>\n<h4>1. \u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043c\u0435\u043d\u044e<\/h4>\n<p>  \u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043b\u0438\u0448\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0448\u0438\u0440\u0438\u043d\u043e\u0439 \u0432\u043e \u0432\u0441\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443:<\/p>\n<pre><code class=\"html\">&lt;nav role=&quot;full-horizontal&quot;&gt;   &lt;ul&gt;     &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Stream&lt;\/a&gt;&lt;\/li&gt;     &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Lab&lt;\/a&gt;&lt;\/li&gt;     &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Projects&lt;\/a&gt;&lt;\/li&gt;     &lt;li&gt;&lt;a href=&quot;#&quot;&gt;About&lt;\/a&gt;&lt;\/li&gt;     &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Contact&lt;\/a&gt;&lt;\/li&gt;   &lt;\/ul&gt; &lt;\/nav&gt; <\/code><\/pre>\n<pre><code class=\"css\">@media screen and (max-width: 44em) {   nav[role=&quot;full-horizontal&quot;] {     ul &gt; li {       width: 100%;     }   } } <\/code><\/pre>\n<p>  \u0421 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435\u043c \u0442\u0430\u043a \u043e\u043d\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0430\u0445 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c:<br \/>  <img decoding=\"async\" src=\"http:\/\/cdn.css-tricks.com\/wp-content\/uploads\/2012\/11\/full-horz.jpg\" alt=\"\u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043c\u0435\u043d\u044e\"\/><\/p>\n<h5>\u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u041d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f JavaScript<\/li>\n<li>\u041d\u0438\u043a\u0430\u043a\u043e\u0439 \u043b\u0438\u0448\u043d\u0435\u0439 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438<\/li>\n<li>\u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u043a\u043e\u0434 \u0441\u0442\u0438\u043b\u0435\u0439<\/li>\n<\/ul>\n<p>  <\/p>\n<h5>\u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u0417\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435<\/li>\n<\/ul>\n<p>  <a href=\"http:\/\/codepen.io\/TimPietrusky\/pen\/ysblx\">\u041f\u0440\u0438\u043c\u0435\u0440 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e<\/a> \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 CodePen.<\/p>\n<h4>2. \u0412\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a<\/h4>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435 \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/HTML\/Element\/select\">\u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a<\/a> \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0435\u0433\u043e.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443 \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a. \u0427\u0442\u043e\u0431\u044b \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c JavaScript \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/DOM\/window.location\">window.location<\/a>.href \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/DOM\/element.onchange\">onchange<\/a>  <\/p>\n<pre><code class=\"html\">&lt;nav role=&quot;select&quot;&gt;   &lt;!-- basic menu goes here --&gt;      &lt;select onchange=&quot;if (this.value) window.location.href = this.value;&quot;&gt;     &lt;option value=&quot;#&quot;&gt;Stream&lt;\/option&gt;     &lt;option value=&quot;#&quot;&gt;Lab&lt;\/option&gt;     &lt;option value=&quot;#&quot;&gt;Projects&lt;\/option&gt;     &lt;option value=&quot;#&quot;&gt;About&lt;\/option&gt;     &lt;option value=&quot;#&quot;&gt;Contact&lt;\/option&gt;   &lt;\/select&gt; &lt;\/nav&gt; <\/code><\/pre>\n<p>  \u0421\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u044d\u043a\u0440\u0430\u043d\u0430\u0445:  <\/p>\n<pre><code class=\"css\">nav[role=&quot;select&quot;] {   &gt; select {     display:none;     } } <\/code><\/pre>\n<p>  \u041d\u0430 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u044d\u043a\u0440\u0430\u043d\u0430\u0445 \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043c\u043e\u0447\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u043c\u0435\u043d\u044e \u2014 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0441\u0435\u0432\u0434\u043e-\u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u0442\u0435\u043a\u0442\u043e\u043c \u00ab\u041c\u0435\u043d\u044e\u00bb  <\/p>\n<pre><code class=\"css\">@media screen and (max-width: 44em) {   nav[role=&quot;select&quot;] {     ul {       display: none;     }      select {       display: block;       width: 100%;     }      &:after {       position: absolute;       content: &quot;Menu&quot;;       right: 0;       bottom: -1em;     }   } } <\/code><\/pre>\n<p>  \u0421 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435\u043c \u0442\u0430\u043a \u043e\u043d\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0430\u0445 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c:<br \/>  <img decoding=\"async\" src=\"http:\/\/cdn.css-tricks.com\/wp-content\/uploads\/2012\/11\/num-2.jpg\" alt=\"\u0412\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a\"\/><\/p>\n<h5>\u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u041d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u00ab\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435\u00bb \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/li>\n<\/ul>\n<h5>\u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f JavaScript<\/li>\n<li>\u041f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430<\/li>\n<li>\u0412\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u0438\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043e \u0432\u0441\u0435\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445<\/li>\n<\/ul>\n<p>  <a href=\"http:\/\/codepen.io\/TimPietrusky\/pen\/iopIJ\">\u041f\u0440\u0438\u043c\u0435\u0440 \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u043d\u044e<\/a>.<\/p>\n<h4>3. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0435 \u043d\u0438\u0441\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u0435 \u043c\u0435\u043d\u044e<\/h4>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435 \u043d\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u044d\u043a\u0440\u0430\u043d\u0430\u0445 \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f input \u0438 label \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0438\u0445 (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f <a href=\"http:\/\/css-tricks.com\/the-checkbox-hack\/\">\u0445\u0430\u043a \u0441 \u0447\u0435\u043a\u0431\u043e\u043a\u0441\u043e\u043c<\/a>). \u041a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043a\u043b\u0438\u043a\u0430\u0435\u0442 \u043d\u0430 label, \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043d\u0438\u043c.  <\/p>\n<pre><code class=\"html\">&lt;nav role=&quot;custom-dropdown&quot;&gt;     &lt;!-- Advanced Checkbox Hack (see description below) --&gt;          &lt;!-- basic menu goes here --&gt; &lt;\/nav&gt; <\/code><\/pre>\n<p>  <\/p>\n<h5>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0445\u0430\u043a\u0430 \u0441 \u0447\u0435\u043a\u0431\u043e\u043a\u0441\u043e\u043c<\/h5>\n<p>  \u0414\u0432\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u044d\u0442\u0438\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c:  <\/p>\n<ol>\n<li><b>\u041e\u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 Safari (iOS &lt; 6.0)<\/b>. \u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u043b\u0438\u043a\u043d\u0443\u0442\u044c \u043d\u0430 label \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u043e\u0434 iOS &lt; 6.0, \u0447\u0442\u043e\u0431\u044b \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b input \u0438\u0437-\u0437\u0430 \u0431\u0430\u0433\u0430. \u0420\u0435\u0448\u0430\u0435\u0442\u0441\u044f <a href=\"http:\/\/stackoverflow.com\/questions\/5421659\/html-label-command-doesnt-work-in-iphone-browser\/6472181#6472181\">\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0443\u0441\u0442\u043e\u0433\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044f<\/a> onclick \u043d\u0430 label<\/li>\n<li><b>\u041e\u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u041e\u0421 Android \u0432\u0435\u0440\u0441\u0438\u0438 \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e\u0439 4.1.2.<\/b> \u0414\u0430\u0432\u043d\u044b\u043c \u0434\u0430\u0432\u043d\u043e \u0431\u044b\u043b \u0431\u0430\u0433 \u0432 WebKit \u0434\u0432\u0438\u0436\u043a\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0441\u0435\u0432\u0434\u043e-\u043a\u043b\u0430\u0441\u0441\u044b \u0441 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0435\u0439 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u043e\u0432 <code>+<\/code> \u0438 <code>~<\/code><\/li>\n<\/ol>\n<pre><code class=\"css\">h1 ~ p { color: black; } h1:hover ~ p { color: red; } <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u043d\u0435 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u043e \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0430, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0445\u0430\u043a \u0441 \u0447\u0435\u043a\u0431\u043e\u043a\u0441\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043f\u0441\u0435\u0432\u0434\u043e\u043a\u043b\u0430\u0441\u0441 <code>:checked<\/code> \u0441 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u043e\u043c <code>~<\/code>. \u0418 \u043f\u043e\u043a\u0430 \u0431\u0430\u0433 \u043d\u0435 \u0431\u044b\u043b \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u0432 WebKit 535.1 (Chrome 13) \u0438 \u0432 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u043c \u0434\u043b\u044f Android 4.1.2 WebKit 534.30, \u0445\u0430\u043a \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0438 \u043d\u0430 \u043a\u0430\u043a\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u0441 \u041e\u0421 Android.<\/p>\n<p>  <a href=\"http:\/\/stackoverflow.com\/questions\/8320530\/webkit-bug-with-hover-and-multiple-adjacent-sibling-selectors\/8320736#8320736\">\u041b\u0443\u0447\u0448\u0435\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435<\/a> \u2014 \u044d\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f WebKit-\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 \u0434\u043b\u044f \u0442\u0435\u0433\u0430 <code>&lt;body&gt;<\/code><\/p>\n<p>  \u041a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f \u0432\u0441\u0435\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 <a href=\"http:\/\/timpietrusky.com\/advanced-checkbox-hack\">\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0439 \u0445\u0430\u043a \u0434\u043b\u044f \u0447\u0435\u043a\u0431\u043e\u043a\u0441\u043e\u0432<\/a>:<\/p>\n<pre><code class=\"html\">&lt;!-- Fix for iOS --&gt; &lt;input type=&quot;checkbox&quot; id=&quot;menu&quot;&gt; &lt;label for=&quot;menu&quot; onclick&gt;&lt;\/label&gt; <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"css\">\/* Fix for Android *\/ body {    -webkit-animation: bugfix infinite 1s;  } @-webkit-keyframes bugfix {    from { padding: 0; }    to { padding: 0; }  }  \/* default checkbox *\/ input[type=checkbox] {   position: absolute;   top: -9999px;   left: -9999px; }  label {    cursor: pointer;   user-select: none; } <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u043c\u044b \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u043c label:<\/p>\n<pre><code class=\"css\">nav[role=&quot;custom-dropdown&quot;] {   label {     display: none;   } } <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u043c\u044b \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c label. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043c\u043e\u0447\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u043c\u0435\u043d\u044e, \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0441\u0435\u0432\u0434\u043e\u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c &quot;\u2261&quot; \u0432 label (\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0432 \u0432\u0438\u0434\u0435 \u043a\u043e\u0434\u0430 &quot;\\2261&quot;, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0441\u0435\u0432\u0434\u043e\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430). \u041a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043a\u043b\u0438\u043a\u0430\u0435\u0442 \u043d\u0430 input, \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u043e \u0432\u0441\u044e \u0448\u0438\u0440\u0438\u043d\u0443.<\/p>\n<pre><code class=\"css\">@media screen and (max-width: 44em) {   nav[role=&quot;custom-dropdown&quot;] {     ul {       display: none;       height: 100%;     }      label {       position: relative;       display: block;       width: 100%;     }      label:after {         position: absolute;         content: &quot;\\2261&quot;;     }          input:checked ~ ul {       display: block;            &gt; li {         width: 100%;       }             }   } } <\/code><\/pre>\n<p>  \u0422\u0430\u043a \u043c\u0435\u043d\u044e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0430 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u044d\u043a\u0440\u0430\u043d\u0430\u0445:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/cdn.css-tricks.com\/wp-content\/uploads\/2012\/11\/closed.jpg\" alt=\"\u0417\u0430\u043a\u0440\u044b\u0442\u043e\u0435\" title=\"\u0417\u0430\u043a\u0440\u044b\u0442\u043e\u0435\"\/><br \/>  <img decoding=\"async\" src=\"http:\/\/cdn.css-tricks.com\/wp-content\/uploads\/2012\/11\/open.jpg\" alt=\"\u0417\u0430\u043a\u0440\u044b\u0442\u043e\u0435\" title=\"\u041e\u0442\u043a\u0440\u044b\u0442\u043e\u0435\"\/><\/p>\n<h5>\u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u041d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u0432 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438<\/li>\n<li>\u0426\u0435\u043b\u0438\u043a\u043e\u043c \u0441\u0442\u0438\u043b\u0438\u0437\u0443\u0435\u0442\u0441\u044f<\/li>\n<li>\u041d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 JavaScript<\/li>\n<\/ul>\n<p>  <\/p>\n<h5>\u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u041d\u0435 \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u043d\u044b\u0439 \u043a\u043e\u0434 (input \/ label)<\/li>\n<li>\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 HTML<\/li>\n<\/ul>\n<p>  <a href=\"http:\/\/codepen.io\/TimPietrusky\/pen\/gqlhA\">\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u044b \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u043d\u044e<\/a>.<\/p>\n<h4>4. Canvas<\/h4>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435, \u043d\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u044d\u043a\u0440\u0430\u043d\u0430\u0445, \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f input \u0438 label \u043a\u0430\u043a \u0432 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 3. \u041a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043a\u043b\u0438\u043a\u0430\u0435\u0442 \u043d\u0430 label, \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e \u0432\u044b\u043f\u043b\u044b\u0432\u0430\u0435\u0442 \u0441\u043b\u0435\u0432\u0430 \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0432\u043f\u0440\u0430\u0432\u0430. \u042d\u043a\u0440\u0430\u043d \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u0447\u0430\u0441\u0442\u0438 \u0432 \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u044f\u0445 80% \u043c\u0435\u043d\u044e \u0438 20% \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 (\u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0438 \u0435\u0434\u0438\u043d\u0438\u0446, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0432 CSS)<\/p>\n<pre><code class=\"html\">&lt;input type=&quot;checkbox&quot; id=&quot;menu&quot;&gt; &lt;label for=&quot;menu&quot; onclick&gt;&lt;\/label&gt;  &lt;!-- basic menu goes here --&gt;  &lt;div class=&quot;content&quot;&gt;   &lt;!-- content goes here --&gt; &lt;\/div&gt; <\/code><\/pre>\n<p>  \u041d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u044d\u043a\u0440\u0430\u043d\u0430\u0445 \u043c\u044b \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u043c label.  <\/p>\n<pre><code class=\"css\">label {   position: absolute;   left: 0;   display: none; } <\/code><\/pre>\n<p>  \u041d\u0430 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u044d\u043a\u0440\u0430\u043d\u0430\u0445 \u043c\u044b \u043f\u043e\u043c\u0435\u0448\u0430\u0435\u043c \u043c\u0435\u043d\u044e \u0432\u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u043e\u043a\u043d\u0430 \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c label \u0438 input. \u0427\u0442\u043e\u0431\u044b \u0441\u043a\u0440\u044b\u0442\u044c \u043c\u0435\u043d\u044e \u043c\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0448\u0438\u0440\u0438\u043d\u0443 \u0438 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043c\u043e\u0447\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u043c\u0435\u043d\u044e, \u043c\u044b \u0442\u0430\u043a \u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0441\u0435\u0432\u0434\u043e\u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c &quot;\u2261&quot; \u0432 label (\u0432 \u0432\u0438\u0434\u0435 \u043a\u043e\u0434\u0430 &quot;\\2261&quot;, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0441\u0435\u0432\u0434\u043e\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430). <\/p>\n<pre><code class=\"css\">@media screen and (max-width: 44em) {   $menu_width: 20em;    body {     overflow-x: hidden;   }        nav[role=&quot;off-canvas&quot;] {     position: absolute;     left: -$menu_width;     width: $menu_width;          ul &gt; li {       width: 100%;     }   }    label {     display: block;   }    label:after {     position: absolute;     content: &quot;\\2261&quot;;   }    input:checked ~ nav[role=&quot;off-canvas&quot;] {     left: 0;   }    input:checked ~ .content {     margin-left: $menu_width + .5em;     margin-right: -($menu_width + .5em);   } } <\/code><\/pre>\n<p>  \u0421 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435\u043c \u0442\u0430\u043a \u043e\u043d\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0430\u0445 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/cdn.css-tricks.com\/wp-content\/uploads\/2012\/11\/offcanvas-closed.png\" alt=\"\u0417\u0430\u043a\u0440\u044b\u0442\u043e\u0435\" title=\"\u0417\u0430\u043a\u0440\u044b\u0442\u043e\u0435\"\/><br \/>  <img decoding=\"async\" src=\"http:\/\/cdn.css-tricks.com\/wp-content\/uploads\/2012\/11\/offcanvas-open.png\" alt=\"\u041e\u0442\u043a\u0440\u044b\u0442\u043e\u0435\" title=\"\u041e\u0442\u043a\u0440\u044b\u0442\u043e\u0435\"\/><\/p>\n<h5>\u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u041d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u0432 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438<\/li>\n<li>\u0426\u0435\u043b\u0438\u043a\u043e\u043c \u0441\u0442\u0438\u043b\u0438\u0437\u0443\u0435\u0442\u0441\u044f<\/li>\n<li>\u041d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 JavaScript<\/li>\n<li>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a Facebook \/ Google+ \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/li>\n<\/ul>\n<h5>\u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u041d\u0435 \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u043d\u044b\u0439 \u043a\u043e\u0434 (input \/ label)<\/li>\n<li>\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 HTML<\/li>\n<li>\u0410\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 body \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u0435 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/li>\n<\/ul>\n<p>  <a href=\"http:\/\/codepen.io\/TimPietrusky\/pen\/CLIsl\">\u041f\u0440\u0438\u043c\u0435\u0440 \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u043d\u044e<\/a>.<\/p>\n<h4>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043b\u0438 \u044d\u0442\u043e \u043f\u043e\u0434 IE?<\/h4>\n<p>  \u0412\u0441\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0442\u0435\u0445\u043d\u0438\u043a\u0438 \u043f\u0440\u0435\u0441\u043b\u0435\u0434\u0443\u044e\u0442 \u043e\u0434\u043d\u0443 \u0446\u0435\u043b\u044c: \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0435 \u043c\u0435\u043d\u044e \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432! \u0418 \u0432\u0441\u0435 \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043d\u0438\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 IE8 \u0438\u043b\u0438 \u043d\u0438\u0436\u0435 \u043d\u0438 \u043d\u0430 \u043a\u0430\u043a\u0438\u0445 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435 \u0431\u0435\u0441\u043f\u043e\u043a\u043e\u0438\u0442\u0441\u044f \u043e\u0431 \u044d\u0442\u043e\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u0435.          \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/159359\/\"> http:\/\/habrahabr.ru\/post\/159359\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">       \u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u044b\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u043e\u043c, \u043c\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u043c\u0441\u044f \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0442\u0435\u0445\u043d\u0438\u043a\u0430\u043c\u0438 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043b\u0443\u0447\u0448\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e \u0434\u043b\u044f \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u0441 \u043d\u0438\u0437\u043a\u0438\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u0430\u0436\u0443\u0442\u0441\u044f \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u043c\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u044f \u043f\u043e\u043a\u0430\u0436\u0443 \u0432\u0430\u043c \u0447\u0435\u0442\u044b\u0440\u044b\u0435 \u0433\u043b\u0430\u0432\u043d\u044b\u0445 \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0441 \u0438\u0445 \u0434\u043e\u0441\u0442\u043e\u0438\u043d\u0441\u0442\u0432\u0430\u043c\u0438 \u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430\u043c\u0438. \u0422\u0440\u0438 \u0438\u0437 \u043d\u0438\u0445 \u0441\u0434\u0435\u043b\u0430\u043d\u043d\u044b \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e CSS \u0438 \u043e\u0434\u0438\u043d \u2014 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c JavaScript.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/cdn.css-tricks.com\/wp-content\/uploads\/2012\/11\/open.jpg\" alt=\"image\"\/>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-159359","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/159359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=159359"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/159359\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=159359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=159359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=159359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}