{"id":268620,"date":"2015-11-20T10:50:06","date_gmt":"2015-11-20T07:50:06","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=268620"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=268620","title":{"rendered":"\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043d\u043e\u043f\u043e\u043a \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Sass"},"content":{"rendered":"<p>       \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0447\u0430\u0441\u0442\u043e \u043d\u0430\u0448\u0438 \u043b\u044e\u0431\u0438\u043c\u044b\u0435 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u044b \u0434\u0435\u043b\u0430\u044e\u0442 \u0432 \u043c\u0430\u043a\u0435\u0442\u0430\u0445 \u043a\u043d\u043e\u043f\u043a\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 \u0438 \u0432\u0435\u043b\u0438\u0447\u0438\u043d, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0442\u0441\u044f, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u0442. \u041d\u0435\u043f\u043b\u043e\u0445\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u0438\u0445 \u0441\u0430\u043c\u044b\u0445 \u043a\u043d\u043e\u043f\u043e\u043a, \u0432 \u0447\u0435\u043c \u043d\u0430 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043c\u043e\u0447\u044c sass  @extend&#8217;s. \u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u044e \u043a\u043d\u043e\u043f\u043e\u043a \u0432 \u0442\u0438\u043f\u0438\u0447\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/15b\/5bb\/ed8\/15b5bbed80524f0b80a6d075fc5b4294.png\"\/><br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u041a\u0430\u043a \u043d\u0435 \u043d\u0430\u0434\u043e \u0434\u0435\u043b\u0430\u0442\u044c<\/h4>\n<p>  HTML \u0434\u043b\u044f \u043d\u0430\u0448\u0438\u0445 \u043a\u043d\u043e\u043f\u043e\u043a \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438:<\/p>\n<pre><code class=\"html\">&lt;ul class=&quot;about_butt_list&quot;&gt;     &lt;li class=&quot;about_butt_item&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;about_butt blue_mod&quot;&gt;\u0418\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430&lt;\/a&gt;&lt;\/li&gt;     &lt;li class=&quot;about_butt_item&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;about_butt red_mod&quot;&gt;\u041a\u0432\u0430\u0440\u0442\u0438\u0440\u044b&lt;\/a&gt;&lt;\/li&gt;     &lt;li class=&quot;about_butt_item&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;about_butt yellow_mod&quot;&gt;\u0413\u0430\u043b\u0435\u0440\u0435\u044f&lt;\/a&gt;&lt;\/li&gt; &lt;\/ul&gt; <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0432\u043e\u0435 \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0439\u0442\u0438 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u0432\u0435\u0440\u0441\u0442\u0430\u043b\u044c\u0449\u0438\u043a\u0443 \u2014 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0438\u043b\u0438 \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043e\u043a \u0441\u0440\u0430\u0437\u0443 \u0432 \u043a\u043b\u0430\u0441\u0441\u044b \u043d\u0430\u0448\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<\/p>\n<p>  SCSS:<\/p>\n<pre><code class=\"css\">.about_butt { \tdisplay: block; \theight:50px; \tline-height: 50px; \ttext-align: center; \tfont-family: 'intro'; \tfont-size: 12px; } <\/code><\/pre>\n<p>  \u041c\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0441\u0442\u0438\u043b\u0438 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430, \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0435\u0433\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043f\u043e \u0446\u0432\u0435\u0442\u0443(\u0434\u043b\u044f \u0446\u0432\u0435\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430):<\/p>\n<pre><code class=\"css\">.about_butt { \tdisplay: block; \theight:50px; \tline-height: 50px; \ttext-align: center; \tfont-family: 'intro'; \tfont-size: 12px;          &.blue_mod { \t\tbackground: $blue_1; \t\tcolor:$white; \t\ttransition:background .3s ease;  \t\t&:hover,&:focus { \t\t\ttext-decoration: none; \t\t}  \t\t&:hover { \t\t\tbackground: lighten($blue_1, 5%); \t\t} \t} \t&.red_mod { \t\tbackground: $red_1; \t\tcolor:$white; \t\ttransition:background .3s ease;  \t\t&:hover,&:focus { \t\t\ttext-decoration: none; \t\t}  \t\t&:hover { \t\t\tbackground: lighten($red_2, 5%); \t\t} \t} \t&.yellow_mod { \t\tbackground: $yellow_1; \t\tcolor:$white; \t\ttransition:background .3s ease;  \t\t&:hover,&:focus { \t\t\ttext-decoration: none; \t} } <\/code><\/pre>\n<p>  \u041f\u043e\u043a\u0430 \u0432\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e.\u041d\u043e \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0430:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/9bb\/c0c\/a64\/9bbc0ca6482d4ce0a83260d01dc90511.png\"\/><\/p>\n<p>  \u042d\u0442\u0430 \u043a\u043d\u043e\u043f\u043a\u0430 \u0438\u043c\u0435\u0435\u0442 \u0442\u0435 \u0436\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u044b, \u0447\u0442\u043e \u0438 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435, \u043d\u043e \u0434\u0440\u0443\u0433\u043e\u0435 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0440\u0443\u0448\u0438\u043c \u043f\u0440\u0438\u043d\u0446\u0438\u043f DRY \u0438 \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0441\u0442\u0438\u043b\u0438 \u0434\u043b\u044f \u043d\u0435\u0435 \u043e\u0442 \u043d\u0430\u0448\u0438\u0445 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u043a\u043d\u043e\u043f\u043e\u043a:<\/p>\n<pre><code class=\"css\">.news_more_butt { \tdisplay: block; \theight:50px; \tline-height: 50px; \ttext-align: center; \tfont-family: 'intro'; \tfont-size: 12px; } <\/code><\/pre>\n<p>  \u0421 \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u043c\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435:<\/p>\n<pre><code class=\"css\">.news_more_butt {  \tcolor:$black_2; \tbackground: transparent; \tbox-shadow:inset 0 0 0 2rem $gray_4; \ttransition:all .3s ease;  \t&:hover,&:focus { \t\ttext-decoration: none; \t}  \t&:hover { \t\tbackground: $gray_4; \t\tcolor:$white; \t} } <\/code><\/pre>\n<p>  \u041d\u0443 \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u0442\u0438\u043b\u0435\u0439 \u0434\u043b\u044f \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043d\u0430\u0448\u0435\u0439 \u043a\u043d\u043e\u043f\u043a\u0438:<\/p>\n<pre><code class=\"css\">.news_more_butt { \twidth: 186rem; \tmargin: 20rem auto; } <\/code><\/pre>\n<p>  \u0418\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435 \u0438 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043d\u043e\u043f\u043a\u0443:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/1da\/3e5\/814\/1da3e5814b37466694d683519209233d.png\"\/><\/p>\n<p>  \u041e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u0435\u0436\u043d\u0438\u043c, \u0430 \u0432\u043e\u0442 \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u043a\u043d\u043e\u043f\u043a\u0438 \u0438 \u0448\u0440\u0438\u0444\u0442\u0430 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438\u0441\u044c. \u0418 \u0442\u0443\u0442 \u043f\u0435\u0440\u0435\u0434 \u043d\u0430\u043c\u0438 \u0434\u0432\u0430 \u043f\u0443\u0442\u0438:<\/p>\n<ol>\n<li> \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0438\u043b\u0438 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043d\u043e\u043f\u043e\u043a \u0438 \u0434\u0430\u0432\u0430\u0442\u044c \u0438\u043c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b<\/li>\n<li> \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b \u0434\u043b\u044f \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0435\u0433\u043e \u0432 \u043d\u0430\u0448\u0438 \u0442\u0435\u0433\u0438 <\/li>\n<\/ol>\n<p>  \u041c\u0438\u043d\u0443\u0441\u044b \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u044d\u0442\u0438\u0445 \u043f\u043e\u0434\u0445\u043e\u0434\u043e\u0432 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b. \u0412 \u043f\u0435\u0440\u0432\u043e\u043c \u043c\u044b \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u0438 \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u2014 \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043c\u0435\u0441\u0442\u0430\u0445. \u0412\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b, \u0438 \u044d\u0442\u043e \u0442\u043e\u0436\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e(\u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0438 Bootstrap \u0431\u044b \u0432\u043e\u0437\u0440\u0430\u0437\u0438\u043b\u0438).<br \/>  \u041d\u043e \u0435\u0441\u0442\u044c \u0438 \u0442\u0440\u0435\u0442\u0438\u0439 \u043f\u0443\u0442\u044c \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 sass  @extend(\u0445\u043e\u0442\u044f \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043b\u044e\u0431\u043e\u043c \u043f\u0440\u0435\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0435).<\/p>\n<h4>\u0422\u0440\u0435\u0442\u0438\u0439 \u043f\u0443\u0442\u044c<\/h4>\n<p>  \u0423 \u043c\u0435\u043d\u044f \u043f\u0440\u0438\u043c\u0435\u0441\u0438 \u043b\u0435\u0436\u0430\u0442 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c scss \u0444\u0430\u0439\u043b\u0435 \u2014 buttons.scss, \u044d\u0442\u043e \u043a\u0440\u0430\u0439\u043d\u0435 \u0443\u0434\u043e\u0431\u043d\u043e.\u041c\u044b \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0442\u044c \u0438\u0445 \u043d\u0430 \u0440\u0430\u0437\u043c\u0435\u0440\u044b(+\u0442\u0438\u043f\u043e\u0433\u0440\u0430\u0444\u0438\u043a\u0430) \u0438 \u0446\u0432\u0435\u0442\u043e\u0432\u044b\u0435 \u0441\u0445\u0435\u043c\u044b.\u041d\u0430\u043f\u0438\u0448\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u044b \u0434\u043b\u044f \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432:<\/p>\n<pre><code class=\"css\">%butt_size_1 { \tdisplay: block; \theight:50px; \tline-height: 50px; \ttext-align: center; \tfont-family: 'intro'; \tfont-size: 12px; }  %butt_size_2 { \tdisplay: block; \theight:70px; \tline-height: 70px; \ttext-align: center; \tfont-family: 'intro'; \tfont-size: 16px; } <\/code><\/pre>\n<p>  \u041e\u0442\u043b\u0438\u0447\u043d\u043e, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0446\u0432\u0435\u0442\u043e\u0432\u044b\u0435 \u0441\u0445\u0435\u043c\u044b:<\/p>\n<pre><code class=\"css\">%butt_gray_1 { \tcolor:$black_2; \tbackground: transparent; \tbox-shadow:inset 0 0 0 2rem $gray_4; \ttransition:all .3s ease;  \t&:hover,&:focus { \t\ttext-decoration: none; \t}  \t&:hover { \t\tbackground: $gray_4; \t\tcolor:$white; \t} }  %butt_blue_1 { \tbackground: $blue_1; \tcolor:$white; \ttransition:all .3s ease;  \t&:hover,&:focus { \t\ttext-decoration: none; \t}  \t&:hover { \t\tbackground: lighten($blue_1, 5%); \t} }  %butt_red_1 { \tbackground: $red_2; \tcolor:$white; \ttransition:all .3s ease;  \t&:hover,&:focus { \t\ttext-decoration: none; \t}  \t&:hover { \t\tbackground: lighten($red_2, 5%); \t} }  %butt_yellow_1 { \tbackground: $yellow_1; \tcolor:$white; \ttransition:all .3s ease;  \t&:hover,&:focus { \t\ttext-decoration: none; \t}  \t&:hover { \t\tbackground: lighten($yellow_1, 5%); \t} }  %butt_green_1 { \tbackground: $green_1; \tcolor:$white; \ttransition:all .3s ease;  \t&:hover,&:focus { \t\ttext-decoration: none; \t}  \t&:hover { \t\tbackground: lighten($green_1, 5%); \t} } <\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u043c\u044b \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0433\u0438\u0431\u043a\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0434\u043b\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0448\u0438\u0445 \u043a\u043d\u043e\u043f\u043e\u043a.\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448 scss \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"css\">.about_butt { \t@extend %butt_size_1; \t&.blue_mod { \t\t@extend %butt_blue_1; \t} \t&.red_mod { \t\t@extend %butt_red_1; \t} \t&.yellow_mod { \t\t@extend %butt_yellow_1; \t} } .news_more_butt { \t@extend %butt_size_1; \t@extend %butt_gray_1;  \twidth: 186rem; \tmargin: 20rem auto; } .show_news_butt { \t@extend %butt_size_2; \t@extend %butt_gray_1;  \tdisplay: inline-block; }  <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u0430\u044f \u0446\u0432\u0435\u0442\u043e\u0432\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u2014 \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u043c \u0434\u043b\u044f \u043d\u0435\u0435  @extend \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c, \u0435\u0441\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u2014 <s>\u0440\u0443\u0433\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u0430<\/s> \u043f\u0440\u0430\u0432\u0438\u043c \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435.<\/p>\n<h4>\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b<\/h4>\n<p>  <\/p>\n<ul>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0442\u0438\u0445\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u044b, \u0430 \u043d\u0435 \u043c\u0438\u043a\u0441\u0438\u043d\u044b(\u043c\u0435\u043d\u044c\u0448\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e CSS)<\/li>\n<li>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043e\u0434\u043d\u043e-\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043d\u044b\u0439 \u0441\u0430\u0439\u0442 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u043a\u043d\u043e\u043f\u043e\u043a \u2014 \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0437\u043b\u0438\u0448\u043d\u0435\u0439<\/li>\n<li>\u0412 \u0442\u0438\u0445\u0438\u0445 \u043a\u043b\u0430\u0441\u0441\u0430\u0445 \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f display:block, \u043f\u043e\u0442\u043e\u043c \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043f\u0440\u0430\u0432\u0438\u043b\u0435 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0430<\/li>\n<\/ul>\n<p>  P.S.: \u0414\u0430\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043b <a href=\"http:\/\/habrahabr.ru\/users\/Glivera\/\">\u0410\u043d\u0434\u0440\u0435\u0439 \u0411\u043e\u0439\u043a\u043e<\/a>, \u0437\u0430 \u0447\u0442\u043e \u0435\u043c\u0443 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e!       <\/p>\n<div class=\"clear\"><\/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\/271311\/\"> http:\/\/habrahabr.ru\/post\/271311\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0447\u0430\u0441\u0442\u043e \u043d\u0430\u0448\u0438 \u043b\u044e\u0431\u0438\u043c\u044b\u0435 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u044b \u0434\u0435\u043b\u0430\u044e\u0442 \u0432 \u043c\u0430\u043a\u0435\u0442\u0430\u0445 \u043a\u043d\u043e\u043f\u043a\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 \u0438 \u0432\u0435\u043b\u0438\u0447\u0438\u043d, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0442\u0441\u044f, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u0442. \u041d\u0435\u043f\u043b\u043e\u0445\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u0438\u0445 \u0441\u0430\u043c\u044b\u0445 \u043a\u043d\u043e\u043f\u043e\u043a, \u0432 \u0447\u0435\u043c \u043d\u0430 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043c\u043e\u0447\u044c sass  @extend&#8217;s. \u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u044e \u043a\u043d\u043e\u043f\u043e\u043a \u0432 \u0442\u0438\u043f\u0438\u0447\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/15b\/5bb\/ed8\/15b5bbed80524f0b80a6d075fc5b4294.png\"\/>  <\/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-268620","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268620","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=268620"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268620\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=268620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=268620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=268620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}