{"id":174029,"date":"2013-03-25T11:27:03","date_gmt":"2013-03-25T07:27:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=174029"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=174029","title":{"rendered":"<span class=\"post_title\">According \u043c\u0435\u043d\u044e \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c CSS<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u0430\u0436\u0438\u0442\u0435\u043b\u0438. \u041d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u0434\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0442\u0435\u0445\u043d\u0438\u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043c\u0435\u043d\u044e-\u0433\u0430\u0440\u043c\u043e\u0448\u043a\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442 \u0432 \u0441\u0435\u0431\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0441\u0435\u0432\u0434\u043e-\u043a\u043b\u0430\u0441\u0441\u0430 <code>:target<\/code>. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f <code>:target<\/code> \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u043b\u0438\u0431\u043e \u0431\u043b\u043e\u043a \u0432 \u043d\u0430\u0448\u0435\u043c \u043c\u0435\u043d\u044e, \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u00ab\u0440\u044b\u0441\u043a\u0440\u044b\u0442\u0438\u0435\u00bb \u0433\u0430\u0440\u043c\u043e\u0448\u043a\u0438. <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/3cd\/368\/0c1\/3cd3680c10492dc07ad3693c79ebfc91.png\"\/><\/p>\n<p>  <a href=\"http:\/\/jsfiddle.net\/NmVhG\/3\/\"><\/p>\n<h5>\u041f\u0440\u0438\u043c\u0435\u0440 1: \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a (checkbox)<\/h5>\n<p><\/a><br \/>  <a href=\"http:\/\/jsfiddle.net\/d7WGb\/1\/\"><\/p>\n<h5>\u041f\u0440\u0438\u043c\u0435\u0440 2: \u0441\u0445\u043b\u043e\u043f\u044b\u0432\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a (radio)<\/h5>\n<p><\/a><\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0412\u0430\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 According \u043c\u0435\u043d\u044e \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c CSS \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0441\u0435\u0432\u0434\u043e-\u043a\u043b\u0430\u0441\u0441\u0430 <code>:checked<\/code>. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u0443 \u0412\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435\/\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435 \u0431\u043b\u043e\u043a\u043e\u0432. \u041c\u0435\u043d\u044e \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0443\u0445 \u0442\u0438\u043f\u043e\u0432: \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0435\u0435\u0441\u044f \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 \u043f\u0440\u0438 \u0441\u0445\u043b\u043e\u043f\u044b\u0432\u0430\u043d\u0438\u0438 \u0434\u0440\u0443\u0433\u0438\u0445. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u0442 <code>checkbox<\/code> \u0438 <code>radio<\/code> \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>HTML \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430<\/h4>\n<p>  \u0421\u0430\u043c\u043e \u043c\u0435\u043d\u044e \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 <code>&lt;section&gt;<\/code> \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c <code>ac-container<\/code>. \u0412\u043d\u0443\u0442\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043c <code>checkbox<\/code> \u0438 <code>&lt;label&gt;<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u043a <code>input<\/code> \u043f\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c\u0443 ID.   <\/p>\n<pre><code class=\"html\">&lt;section class=&quot;ac-container&quot;&gt;     &lt;div&gt;         &lt;input id=&quot;ac-1&quot; name=&quot;accordion-1&quot; type=&quot;checkbox&quot; checked \/&gt;         &lt;label for=&quot;ac-1&quot;&gt;\u041e \u043d\u0430\u0441&lt;\/label&gt;         &lt;article&gt;             &lt;p&gt;\u041a\u0430\u043a\u043e\u0439 \u043d\u0438\u0431\u0443\u0434\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442... &lt;\/p&gt;         &lt;\/article&gt;     &lt;\/div&gt;     &lt;div&gt;         &lt;input id=&quot;ac-2&quot; name=&quot;accordion-1&quot; type=&quot;checkbox&quot; \/&gt;         &lt;label for=&quot;ac-2&quot;&gt;\u0423\u0441\u043b\u0443\u0433\u0438&lt;\/label&gt;         &lt;article&gt;             &lt;p&gt;\u041a\u0430\u043a\u043e\u0439 \u043d\u0438\u0431\u0443\u0434\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442...&lt;\/p&gt;         &lt;\/article&gt;     &lt;\/div&gt;     &lt;div&gt;         &lt;input id=&quot;ac-3&quot; name=&quot;accordion-1&quot; type=&quot;checkbox&quot; \/&gt;         &lt;label for=&quot;ac-3&quot;&gt;\u041f\u043e\u0440\u0442\u0444\u043e\u043b\u0438\u043e&lt;\/label&gt;         &lt;article&gt;             &lt;p&gt;\u041a\u0430\u043a\u043e\u0439 \u043d\u0438\u0431\u0443\u0434\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442...&lt;\/p&gt;         &lt;\/article&gt;     &lt;\/div&gt;     &lt;div&gt;         &lt;input id=&quot;ac-4&quot; name=&quot;accordion-1&quot; type=&quot;checkbox&quot; \/&gt;         &lt;label for=&quot;ac-4&quot;&gt;\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b&lt;\/label&gt;         &lt;article&gt;             &lt;p&gt;\u041a\u0430\u043a\u043e\u0439 \u043d\u0438\u0431\u0443\u0434\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442...&lt;\/p&gt;         &lt;\/article&gt;     &lt;\/div&gt; &lt;\/section&gt; <\/code><\/pre>\n<h4>CSS \u0441\u0442\u0438\u043b\u0438<\/h4>\n<p>  \u0423\u043a\u0430\u0436\u0435\u043c \u0448\u0438\u0440\u0438\u043d\u0443 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 \u0438 \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438 \u0435\u0433\u043e \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b  <\/p>\n<pre><code class=\"css\">.ac-container{     width: 400px;     margin: 10px auto 30px auto; } <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0441\u0442\u0438\u043b\u0438\u0437\u0443\u0435\u043c <code>&lt;lable&gt;<\/code>. C \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0435\u0433\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0441\u0438\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0436\u0430\u0442\u0438\u0435 \u043d\u0430 input. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 z-index. \u0414\u043b\u044f \u043a\u0440\u0430\u0441\u043e\u0442\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0443\u043a\u0430\u0436\u0435\u043c \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442:   <\/p>\n<pre><code class=\"css\">.ac-container label{     font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;     padding: 5px 20px;     position: relative;     z-index: 20;     display: block;     height: 30px;     cursor: pointer;     color: #777;     text-shadow: 1px 1px 1px rgba(255,255,255,0.8);     line-height: 33px;     font-size: 19px;     background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%); \tbackground: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea)); \tbackground: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%); \tbackground: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%); \tbackground: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%); \tbackground: linear-gradient(top, #ffffff 1%,#eaeaea 100%); \tfilter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 ); \tbox-shadow:  \t\t0px 0px 0px 1px rgba(155,155,155,0.3),  \t\t1px 0px 0px 0px rgba(255,255,255,0.9) inset,  \t\t0px 2px 2px rgba(0,0,0,0.1); } }  .ac-container label:hover{     background: #fff; } <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u043e\u043c input \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u0442\u0438\u043b\u044c \u0434\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e <code>&lt;label&gt;<\/code> \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0431\u043b\u043e\u043a\u0435 \u043c\u0435\u043d\u044e:  <\/p>\n<pre><code class=\"css\">.ac-container input:checked + label, .ac-container input:checked + label:hover{     background: #c6e1ec;     color: #3d7489;     text-shadow: 0px 1px 1px rgba(255,255,255, 0.6);     box-shadow:          0px 0px 0px 1px rgba(155,155,155,0.3),          0px 2px 2px rgba(0,0,0,0.1); } <\/code><\/pre>\n<p>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0441\u0435\u0432\u0434\u043e-\u043a\u043b\u0430\u0441\u0441\u0430 <code>:after<\/code> \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0438\u043a\u043e\u043d\u043a\u0438 \u0441\u0442\u0440\u0435\u043b\u043e\u0447\u0435\u043a \u0432\u0432\u0435\u0440\u0445 \u0438 \u0432\u043d\u0438\u0437 \u0434\u043b\u044f label \u043f\u0440\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0438  <\/p>\n<pre><code class=\"css\">.ac-container label:hover:after, .ac-container input:checked + label:hover:after{     content: '';     position: absolute;     width: 24px;     height: 24px;     right: 13px;     top: 7px;     background: transparent url(http:\/\/netcribe.com\/example\/arrow_down.png) no-repeat center center;   }  .ac-container input:checked + label:hover:after {     background-image: url(http:\/\/netcribe.com\/example\/arrow_up.png); } <\/code><\/pre>\n<p>  \u041f\u0440\u044f\u0447\u0435\u043c input \u0438 \u0441\u0442\u0438\u043b\u0438\u0437\u0443\u0435\u043c article:   <\/p>\n<pre><code class=\"css\">.ac-container input{     display: none; }  .ac-container article{     background: rgba(255, 255, 255, 0.5);     margin-top: -1px;     overflow: hidden;     height: 0px;     position: relative;     z-index: 10;     -webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; \t-moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; \t-o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; \t-ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; \ttransition: height 0.3s ease-in-out, box-shadow 0.6s linear; } .ac-container input:checked ~ article{      -webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; \t-moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; \t-o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; \t-ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; \ttransition: height 0.3s ease-in-out, box-shadow 0.6s linear;     box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3);     height 100px; }  .ac-container article p{     font-style: italic;     color: #777;     line-height: 23px;     font-size: 14px;     padding: 20px;     text-shadow: 1px 1px 1px rgba(255,255,255,0.8); } <\/code><\/pre>\n<p>  \u041e\u0431\u0438\u0434\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e, \u0447\u0442\u043e \u0434\u043b\u044f <code>article<\/code> \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432\u044b\u0441\u043e\u0442\u0443. \u0415\u0441\u043b\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>height<\/code> \u0431\u0443\u0434\u0435\u0442 auto \u0442\u043e \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. <\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0432\u0441\u0435\u043c \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.    \t\t\t \t\t\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\/174029\/\"> http:\/\/habrahabr.ru\/post\/174029\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u0430\u0436\u0438\u0442\u0435\u043b\u0438. \u041d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u0434\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0442\u0435\u0445\u043d\u0438\u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043c\u0435\u043d\u044e-\u0433\u0430\u0440\u043c\u043e\u0448\u043a\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442 \u0432 \u0441\u0435\u0431\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0441\u0435\u0432\u0434\u043e-\u043a\u043b\u0430\u0441\u0441\u0430 <code>:target<\/code>. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f <code>:target<\/code> \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u043b\u0438\u0431\u043e \u0431\u043b\u043e\u043a \u0432 \u043d\u0430\u0448\u0435\u043c \u043c\u0435\u043d\u044e, \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u00ab\u0440\u044b\u0441\u043a\u0440\u044b\u0442\u0438\u0435\u00bb \u0433\u0430\u0440\u043c\u043e\u0448\u043a\u0438. <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/3cd\/368\/0c1\/3cd3680c10492dc07ad3693c79ebfc91.png\"\/><\/p>\n<p>  <a href=\"http:\/\/jsfiddle.net\/NmVhG\/3\/\"><\/p>\n<h5>\u041f\u0440\u0438\u043c\u0435\u0440 1: \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a (checkbox)<\/h5>\n<p><\/a><br \/>  <a href=\"http:\/\/jsfiddle.net\/d7WGb\/1\/\"><\/p>\n<h5>\u041f\u0440\u0438\u043c\u0435\u0440 2: \u0441\u0445\u043b\u043e\u043f\u044b\u0432\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a (radio)<\/h5>\n<p><\/a><\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0412\u0430\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 According \u043c\u0435\u043d\u044e \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c CSS \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0441\u0435\u0432\u0434\u043e-\u043a\u043b\u0430\u0441\u0441\u0430 <code>:checked<\/code>. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u0443 \u0412\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435\/\u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435 \u0431\u043b\u043e\u043a\u043e\u0432. \u041c\u0435\u043d\u044e \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0443\u0445 \u0442\u0438\u043f\u043e\u0432: \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0435\u0435\u0441\u044f \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 \u043f\u0440\u0438 \u0441\u0445\u043b\u043e\u043f\u044b\u0432\u0430\u043d\u0438\u0438 \u0434\u0440\u0443\u0433\u0438\u0445. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u0442 <code>checkbox<\/code> \u0438 <code>radio<\/code> \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/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-174029","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/174029","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=174029"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/174029\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=174029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=174029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=174029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}