{"id":167151,"date":"2013-01-26T02:14:03","date_gmt":"2013-01-25T22:14:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=167151"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=167151","title":{"rendered":"<span class=\"post_title\">C\u043f\u043e\u0439\u043b\u0435\u0440 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 css\u2026<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/3e4\/130\/c6f\/3e4130c6f18d64aff555f0c5533511c3.png\"\/><br \/>  \u0412 \u043f\u0440\u0435\u0434\u043f\u0440\u0430\u0437\u0434\u043d\u0438\u0447\u043d\u044b\u0435 \u0434\u043d\u0438 \u0432\u044b\u0434\u0430\u0451\u0442\u0441\u044f \u043c\u0438\u043d\u0443\u0442\u043a\u0430, \u043a\u043e\u0433\u0434\u0430 \u043e\u0442\u0432\u043b\u0435\u043a\u0430\u044f\u0441\u044c \u043e\u0442 \u0437\u0430\u0431\u043e\u0442, \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043e\u043a\u0443\u043d\u0443\u0442\u044c\u0441\u044f \u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043c\u0438\u0440 \u0438\u0434\u0435\u0439, \u043e\u0442\u0441\u0442\u0440\u0430\u043d\u044f\u044f\u0441\u044c \u043e\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0430\u2026<br \/>   \u0412 \u0438\u0442\u043e\u0433\u0435, \u2014 \u0438\u0434\u0435\u044f: C\u043c\u0430\u0441\u0442\u0435\u0440\u0438\u0442\u044c \u0441\u043f\u043e\u0439\u043b\u0435\u0440 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c css \u0438 HTML, \u043d\u0435 \u0434\u043e\u0436\u0438\u0434\u0430\u044f\u0441\u044c \u0442\u0440\u0438\u0443\u043c\u0444\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0448\u0435\u0441\u0442\u0432\u0438\u044f HTML5. <a name=\"habracut\"><\/a>\u0412\u044b\u0440\u0430\u0436\u0430\u044e \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u043d\u043e\u0441\u0442\u044c <b>Octane<\/b> \u0441 <u>javascript.ru<\/u> \u0444\u043e\u0440\u0443\u043c\u0430 \u0438 <a href=\"http:\/\/habrahabr.ru\/users\/devote\/\">devote<\/a>, \u0431\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u0434\u0435\u044f \u043d\u0435 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u043b\u0430\u0441\u044c!<\/p>\n<p>  \u0420\u0430\u043d\u0435\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0432 \u0438\u043d\u0435\u0442\u0435 \u0434\u0435\u043b\u0430\u043b\u0438\u0441\u044c \u0447\u0435\u0440\u0435\u0437 \u043f\u0441\u0435\u0432\u0434\u043e\u043a\u043b\u0430\u0441\u0441\u044b, \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0447\u0435\u0440\u0435\u0437 :focus, \u0447\u0442\u043e \u0432\u0435\u043b\u043e \u043a \u0441\u0430\u043c\u043e\u0441\u043a\u0440\u044b\u0442\u0438\u044e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430, \u043f\u0440\u0438 \u043f\u043e\u0442\u0435\u0440\u0435 \u0444\u043e\u043a\u0443\u0441\u0430.<br \/>  \u041e\u0441\u043d\u043e\u0432\u0430 \u0436\u0435 \u0434\u0430\u043d\u043d\u043e\u0439 \u0438\u0434\u0435\u0438 \u043f\u0441\u0435\u0432\u0434\u043e\u043a\u043b\u0430\u0441\u0441 <font color=\"#5D849E\"><b>:checked<\/b><\/font><\/p>\n<h5><b><i>\u041c\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u0434 \u0438\u0434\u0435\u0438 \u0442\u0430\u043a\u043e\u0432:<\/i><\/b><\/h5>\n<p><font color=\"#BAD3FC\"><\/p>\n<hr\/>\n<p><\/font><\/p>\n<pre><code class=\"css\">     \/* CSS *\/ .spoiler &gt;  input + .box { \tdisplay: none; } .spoiler &gt;  input:checked + .box { \tdisplay: block; } <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"html\">&lt;!--\/\/ HTML \/\/--&gt; &lt;div class=&quot;spoiler&quot;&gt;       &lt;input type=&quot;checkbox&quot; &gt;      &lt;div class=&quot;box&quot;&gt;             \u0422\u0435\u043a\u0441\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u0435.       &lt;\/div&gt;  &lt;\/div&gt; <\/code><\/pre>\n<p><font color=\"#BAD3FC\"><\/p>\n<hr\/>\n<p><\/font><br \/>  \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043a\u0440\u043e\u0441\u0441\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u044b\u0439 \u043a\u043e\u0434, (\u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0418\u04159\/\u0433\u0434\u0435 \u0435\u0441\u0442\u044c \u043f\u0441\u0435\u0432\u0434\u043e\u043a\u043b\u0430\u0441\u0441\u044b\/ \u0438 \u043a\u043e\u043d\u0447\u0430\u044f \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0432\u0435\u0441\u0438\u044f\u043c\u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432). C\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0437\u0430\u043c\u044b\u0441\u043b\u0443, \u2014 \u044d\u0442\u043e \u0431\u044b\u043b \u00ab\u0447\u0438\u0441\u0442\u044b\u0439\u00bb \u043a\u043e\u0434!<\/p>\n<p>  \u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0430\u0445 \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043d\u0430 \u0418\u04156-8, (\u0442\u0443\u0442, \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0434\u043b\u044f \u0438\u0435,- \u00ab\u0447\u0438\u0441\u0442\u043e\u0442\u0430\u00bb \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u0442\u0435\u0440\u044f\u0435\u0442\u0441\u044f), \u0438 \u043c\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0433\u0443\u0433\u043b\u043e\u0432\u0441\u043a\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043f\u0441\u0435\u0432\u0434\u043e\u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0434\u043b\u044f \u0418\u0415:<\/p>\n<pre><code class=\"html\">&lt;!-- Compliance patch for Microsoft browsers --&gt;  &lt;!--[if lt IE 9]&gt;&lt;script src=&quot;http:\/\/ie7-js.googlecode.com\/svn\/trunk\/lib\/IE9.js&quot;&gt;&lt;\/script&gt;&lt;![endif]--&gt; <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u043a\u043e\u0434  \u00ab\u0442\u0430\u043d\u0446\u0435\u0432 c \u043a\u0440\u043e\u0441\u0441\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0441\u0442\u044c\u044e\u00bb<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"html\">&lt;!DOCTYPE&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=windows-1251&quot; \/&gt; &lt;title&gt;C\u043f\u043e\u0439\u043b\u0435\u0440 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 css&lt;\/title&gt;  &lt;style&gt; .spoiler &gt;  input + .box &gt; blockquote{ \tdisplay: none; } .spoiler &gt;  input:checked + .box &gt; blockquote { \tdisplay: block; } .spoiler &gt;  input[type=&quot;checkbox&quot;] { \tborder-color:transparent!important; \tborder-style:none!important; \tbackground:transparent none!important; \tposition:relative;z-index:1; \tmargin:-10px 0 -30px -230px;  } .spoiler span.close, .spoiler span.open{ \tpadding-left:22px; \tcolor: #00f!important; \ttext-decoration: underline; } .spoiler &gt;  input +  .box &gt; span.close { \tdisplay: none; } .spoiler &gt;  input:checked +  .box &gt; span.close { \tbackground: url(http:\/\/st0.bbcorp.ru\/img\/minus.png) 4px 60% no-repeat; \tdisplay: inline; } .spoiler &gt;  input:checked  + .box &gt; span.open { \tdisplay: none; } .spoiler &gt;  input +  .box &gt;  span.open { \tbackground: url(http:\/\/st0.bbcorp.ru\/img\/plus.png) 4px  60% no-repeat; \tdisplay: inline; } .spoiler blockquote, .spoiler{     padding:1em;     border-radius:15px;     -webkit-border-radius:15px;     -khtml-border-radius:15px;     -moz-border-radius:15px;     -o-border-radius:15px;     -ms-border-radius:15px; } .spoiler {     overflow-x:hidden;     box-shadow: 0px 3px 8px #808080;     border:#E5E5E5 solid 2px;     -webkit-box-shadow:0px 3px 8px #808080;     -khtml-box-shadow:0px 3px 8px #808080;     -moz-box-shadow:0px 3px 8px #808080;     -ms-box-shadow:0px 3px 8px #808080; } .spoiler blockquote {    margin-top:12px;    min-height: 23px;    border:#CDCDCD 2px dashed; } &lt;\/style&gt;  &lt;!-- Compliance patch for Microsoft browsers --&gt;  &lt;!--[if lt IE 9]&gt;&lt;script src=&quot;http:\/\/ie7-js.googlecode.com\/svn\/trunk\/lib\/IE9.js&quot;&gt;&lt;\/script&gt;&lt;![endif]--&gt; &lt;\/head&gt;  &lt;body&gt;&lt;div id=&quot;wrap&quot; style=&quot;padding:200px 40px;width:70%;margin:0 auto;background-color:#fff;height:100%&quot;&gt;   &lt;div class=&quot;spoiler&quot;&gt;  &lt;input style=&quot;width:360px;height:45px;&quot; type=&quot;checkbox&quot; &gt;      &lt;div class=&quot;box&quot;&gt;          &lt;span class=close&gt;\u0421\u043a\u0440\u044b\u0442\u044c&lt;\/span&gt;&lt;span class=open&gt;\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c&lt;\/span&gt;          &lt;blockquote class=&quot;Untext&quot;&gt; Lorem Ipsum is simply dummy text of the printing and typesetting industry.          &lt;\/blockquote&gt;      &lt;\/div&gt;   &lt;\/div&gt;   &lt;\/body&gt; &lt;\/html&gt;<\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<h5><b>\u041c\u0438\u043d\u0443\u0441\u044b:<\/b><\/h5>\n<p> \u0412 \u0418\u04158 \u2014 \u043d\u0430\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0443\u043d\u043a\u0442\u0438\u0440\u043d\u0430\u044f \u043e\u0431\u0432\u043e\u0434\u043a\u0430 \u0447\u0435\u043a\u0438\u0442-\u0431\u043e\u043a\u0441\u0430 \u043f\u0440\u0438 \u0444\u043e\u043a\u0443\u0441\u0435;<br \/>  \u0432 \u0418\u04156-7 \u2014 \u0447\u0435\u043a\u0438\u0442 \u043f\u0430\u043d\u0435\u043b\u044c \u00ab\u0432\u0438\u043d\u0442\u0430\u0436\u043d\u043e\u00bb \u0432\u044b\u0434\u0432\u0438\u043d\u0443\u0442\u0430 \u043b\u0435\u0432\u0435\u0435 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u0430; (\u041d\u043e \u043c\u044b \u0438 \u043d\u0435 \u0443\u0442\u043e\u043c\u043b\u044f\u043b\u0438 \u0441\u0435\u0431\u044f \u044d\u0442\u0438\u043c\u0438 \u0437\u0430\u0434\u0430\u0447\u0430\u043c\u0438 \u0432 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u043c\u044b\u0441\u043b\u0430\u0445.<font color=\"#BAD3FC\"><\/p>\n<hr\/>\n<p><\/font><\/p>\n<blockquote><p><a href=\"http:\/\/hostjs-mybb2011.narod.ru\/SpoiLL.htm\"><\/p>\n<h4><b><font color=\"#4D7285\">DEMO<\/font><\/b><\/h4>\n<p><\/a><\/p><\/blockquote>\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\/167151\/\"> http:\/\/habrahabr.ru\/post\/167151\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/3e4\/130\/c6f\/3e4130c6f18d64aff555f0c5533511c3.png\"\/><br \/>  \u0412 \u043f\u0440\u0435\u0434\u043f\u0440\u0430\u0437\u0434\u043d\u0438\u0447\u043d\u044b\u0435 \u0434\u043d\u0438 \u0432\u044b\u0434\u0430\u0451\u0442\u0441\u044f \u043c\u0438\u043d\u0443\u0442\u043a\u0430, \u043a\u043e\u0433\u0434\u0430 \u043e\u0442\u0432\u043b\u0435\u043a\u0430\u044f\u0441\u044c \u043e\u0442 \u0437\u0430\u0431\u043e\u0442, \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043e\u043a\u0443\u043d\u0443\u0442\u044c\u0441\u044f \u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043c\u0438\u0440 \u0438\u0434\u0435\u0439, \u043e\u0442\u0441\u0442\u0440\u0430\u043d\u044f\u044f\u0441\u044c \u043e\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0430\u2026<br \/>   \u0412 \u0438\u0442\u043e\u0433\u0435, \u2014 \u0438\u0434\u0435\u044f: C\u043c\u0430\u0441\u0442\u0435\u0440\u0438\u0442\u044c \u0441\u043f\u043e\u0439\u043b\u0435\u0440 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c css \u0438 HTML, \u043d\u0435 \u0434\u043e\u0436\u0438\u0434\u0430\u044f\u0441\u044c \u0442\u0440\u0438\u0443\u043c\u0444\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0448\u0435\u0441\u0442\u0432\u0438\u044f HTML5. <\/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-167151","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/167151","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=167151"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/167151\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=167151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=167151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=167151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}