{"id":274277,"date":"2016-02-15T12:34:06","date_gmt":"2016-02-15T09:34:06","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=274277"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=274277","title":{"rendered":"\u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043a\u043e\u043b\u0431\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f CSS"},"content":{"rendered":"<p>       \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044f \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043a\u043e\u043b\u0431\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u043e\u043b\u044c\u043a\u043e CSS3. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c <a href=\"http:\/\/stas-melnikov.ru\/articles\/css_flask\/demo\/\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u041d\u0443 \u0447\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e? \u0422\u043e\u0433\u0434\u0430 \u0434\u0430\u0432\u0430\u0439 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c!<a name=\"habracut\"><\/a><\/p>\n<h3>\u0418\u0437\u0443\u0447\u0430\u0435\u043c \u0437\u0430\u0434\u0430\u0447\u0443<\/h3>\n<p>  \u041a\u043e\u043b\u0431\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u0440\u0430\u0437\u043d\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0444\u0438\u0433\u0443\u0440, \u043d\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 CSS \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u044b \u0438 \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043d\u0430\u043c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0433\u043e \u0440\u043e\u0434\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b. \u041a\u0430\u043a \u0436\u0435 \u043c\u044b \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043c? \u041c\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u0438\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u043e\u0432 \u0438 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u043e\u0432. <\/p>\n<ul>\n<li>\u041f\u0441\u0435\u0432\u0434\u043e\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b :Before \u0438 :After<\/li>\n<li>Position, top, right, bottom, left, z-index<\/li>\n<li>Border, width \u0438 height<\/li>\n<\/ul>\n<p>  <\/p>\n<h3>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043b\u0431\u044b<\/h3>\n<p>  \u041e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u0435\u0442 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0443\u044e \u0444\u043e\u0440\u043c\u0443, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0435\u0433\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0441\u043e\u0437\u0434\u0430\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443:<\/p>\n<pre><code class=\"html\">&lt;div class=&quot;flask&quot;&gt;     &lt;div class=&quot;flask_bottom&quot;&gt;         &lt;div class=&quot;big_triangle&quot;&gt;&lt;\/div&gt;     &lt;\/div&gt; &lt;\/div&gt;<\/code><\/pre>\n<p>  \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c flask, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c\u0441\u044f \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c flask_bottom. \u0412 \u043d\u0435\u0433\u043e \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0437\u0430\u0433\u043e\u0442\u043e\u0432\u043a\u0443 \u0434\u043b\u044f \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0414\u0430\u043b\u0435\u0435 \u044f \u0441\u0442\u0438\u043b\u0438\u0437\u0443\u044e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443:<\/p>\n<pre><code class=\"css\">body {   background-color: #292548; }  .flask {   height: 405px;   width: 368px;   position: absolute;   bottom: 0; }  .flask_bottom {   bottom: 0;   position: absolute; }  .big_triangle {   overflow: hidden;   position: relative;   width: 368px;   height: 250px;   background-color: #fff; }<\/code><\/pre>\n<p>  \u041e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u044f \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u043b \u0432 \u043d\u0438\u0436\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u043a\u043e\u043b\u0431\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 position: absolute \u0438 bottom: 0. \u0414\u0430\u043b\u0435\u0435 \u0437\u0430\u0434\u0430\u043b \u0435\u043c\u0443 \u0448\u0438\u0440\u0438\u043d\u0443 368 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u0438 \u0432\u044b\u0441\u043e\u0442\u0443 250 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/886\/34d\/43a\/88634d43a0114fdd838446b03a9d6f88.jpg\" alt=\"image\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435! \u041a\u0430\u043a \u0436\u0435 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a?! \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0441\u0435\u0432\u0434\u043e\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b :before \u0438 :after. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0438\u0445, \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u044b\u0435 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0438 \u0438 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0438\u0445 \u043f\u043e\u0432\u0435\u0440\u0445 \u0431\u0435\u043b\u043e\u0433\u043e \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 \u0441 \u043b\u0435\u0432\u043e\u0433\u043e \u0438 \u0441 \u043f\u0440\u0430\u0432\u043e\u0433\u043e \u043a\u0440\u0430\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0441\u043a\u0440\u044b\u0432 \u0447\u0430\u0441\u0442\u044c \u0435\u0433\u043e \u043f\u043b\u043e\u0449\u0430\u0434\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3bc\/508\/4e2\/3bc5084e23f64b4e92bb5a959da916d3.jpg\" alt=\"image\"\/><\/p>\n<p>  \u041d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u044b\u0435 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 CSS \u043a\u043e\u0434:<\/p>\n<pre><code class=\"css\">.big_triangle:before, .big_triangle:after {   content: &quot;&quot;;   display: block;   width: 0;   height: 0;   border-top: 250px solid #292548;   position: absolute;   top: 0;   z-index: 100; }  .big_triangle:before {   border-right: 152px solid transparent;   left: 0; }  .big_triangle:after {   border-left: 152px solid transparent;   right: 0; }<\/code><\/pre>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0442\u0435\u0445\u043d\u0438\u043a\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f CSS \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u043e\u0432 \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 border. \u041d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0448\u0438\u0440\u0438\u043d\u0443 \u0438 \u0432\u044b\u0441\u043e\u0442\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0440\u0430\u0432\u043d\u044b\u0435 0, \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u0447\u0435\u0442\u0430 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u043e\u0432. \u0414\u0430\u043b\u044c\u0448\u0435 \u0434\u043b\u044f \u043d\u0438\u0445 \u0437\u0430\u0434\u0430\u044e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e border-top \u0440\u0430\u0432\u043d\u043e\u0435 250 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u0438 \u0446\u0432\u0435\u0442\u043e\u043c #292548(\u0446\u0432\u0435\u0442 \u0444\u043e\u043d\u0430). \u0414\u0430\u043b\u0435\u0435 \u0434\u043b\u044f \u043b\u0435\u0432\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e border-left \u0441 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c 152 \u043f\u0438\u043a\u0441\u0435\u043b\u044f. \u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0441\u0434\u0435\u043b\u0430\u044e \u0438 \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430, \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043c\u0435\u0441\u0442\u043e border-left \u043f\u0440\u043e\u043f\u0438\u0448\u0443 border-right. \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u044e \u0438\u0445 \u043f\u043e \u043a\u0440\u0430\u044f\u043c \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 left \u0438 right. \u0418 \u0443 \u043d\u0430\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a!<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/8a9\/51a\/19b\/8a951a19b55a438bab199250f5dc17a8.jpg\" alt=\"image\"\/><\/p>\n<h3>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f<\/h3>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443:<\/p>\n<pre><code class=\"html\">&lt;div class=&quot;flask&quot;&gt;     &lt;div class=&quot;flask_bottom&quot;&gt;         &lt;div class=&quot;big_triangle&quot;&gt;             &lt;div class=&quot;flask_bottom_one&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_two&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_three&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_four&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_five&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_six&quot;&gt;&lt;\/div&gt;         &lt;\/div&gt;     &lt;\/div&gt; &lt;\/div&gt;<\/code><\/pre>\n<p>  \u0418 \u0441\u0442\u0438\u043b\u0438\u0437\u0443\u044e \u0435\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"css\">.flask_bottom_one {   width: 0;   height: 0;   border-bottom: 55px solid #3a2481;   border-left: 32px solid transparent;   border-right: 42px solid transparent;   position: absolute;   bottom: 0;   z-index: 4; }  .flask_bottom_two {   border-bottom: 165px solid #4266c0;   border-left: 93px solid transparent;   border-right: 200px solid transparent;   width: 0;   height: 0;   position: absolute;   left: 0;   bottom: 0;   z-index: 2; }  .flask_bottom_three {   position: absolute;   background-color: #4248c0;   width: 100%;   height: 75px;   position: absolute;   z-index: 3;   left: 50px;   bottom: 18px;   transform: rotate(24deg);   transform-origin: left top; }  .flask_bottom_four {   position: absolute;   background-color: #37acdd;   width: 100%;   height: 170px;   position: absolute;   z-index: 1;   right: 0;   bottom: 0; }  .flask_bottom_five {   position: absolute;   background-color: #1493c8;   width: 100%;   height: 218px;   position: absolute;   z-index: 3;   right: -95px;   bottom: 24px;   transform: rotate(24deg);   transform-origin: right top; }  .flask_bottom_six {   position: absolute;   background-color: #5c30ae;   width: 100%;   height: 50px;   position: absolute;   z-index: 3;   right: -95px;   bottom: 218px;   transform: rotate(-12deg);   transform-origin: left top; }<\/code><\/pre>\n<p>  \u0412\u0430\u0436\u043d\u044b\u043c \u0448\u0430\u0433\u043e\u043c \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u044b \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f. \u041f\u0440\u0438 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0445\u043e\u0434\u0438\u0442\u044c \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0427\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u044d\u0442\u043e, \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043a \u043a\u043b\u0430\u0441\u0441\u0443 big_triangle \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e overflow \u0441 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c hidden. \u041a\u043e\u0433\u0434\u0430 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e, \u0442\u043e \u043e\u043d \u0441\u043a\u0440\u043e\u0435\u0442 \u0432\u0441\u0435, \u0447\u0442\u043e \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c big_triangle.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c 6 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 transform( \u0441 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c rotate) \u0438 transform-origin, \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0438\u0445 \u043a\u0430\u043a \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043d\u0443\u0436\u043d\u0430 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b, \u0430 transform-origin \u2013 \u0434\u043b\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0442\u043e\u0447\u043a\u0438, \u0432\u043e\u043a\u0440\u0443\u0433 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u043c \u0432\u0440\u0430\u0449\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b. \u0422\u0430\u043a\u0436\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0430\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, \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043f\u043e \u0441\u0432\u043e\u0438\u043c \u043c\u0435\u0441\u0442\u0430\u043c. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ef0\/b75\/070\/ef0b750703fd475db30017053931ef5b.jpg\" alt=\"image\"\/><\/p>\n<h3>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0433\u043e\u0440\u043b\u044b\u0448\u043a\u043e \u0438 \u0435\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b<\/h3>\n<p>  \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0433\u043e\u0440\u043b\u044b\u0448\u043a\u0430 \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0441 \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u043c\u0438 62 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u043d\u0430 152 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u0438 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u044c \u0432\u0441\u0435 4 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443:<\/p>\n<pre><code class=\"html\">&lt;div class=&quot;flask&quot;&gt;     &lt;div class=&quot;flask_throat&quot;&gt;         &lt;div class=&quot;flask_throat_one&quot;&gt;&lt;\/div&gt;         &lt;div class=&quot;flask_throat_two&quot;&gt;&lt;\/div&gt;         &lt;div class=&quot;flask_throat_three&quot;&gt;&lt;\/div&gt;         &lt;div class=&quot;flask_throat_four&quot;&gt;&lt;\/div&gt;     &lt;\/div&gt;     &lt;div class=&quot;flask_bottom&quot;&gt;         &lt;div class=&quot;big_triangle&quot;&gt;             &lt;div class=&quot;flask_bottom_one&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_two&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_three&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_four&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_five&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_six&quot;&gt;&lt;\/div&gt;         &lt;\/div&gt;     &lt;\/div&gt; &lt;\/div&gt;<\/code><\/pre>\n<p>  \u0418 css:<\/p>\n<pre><code class=\"css\">.flask_throat {   overflow: hidden;   height: 155px;   width: 64px;   position: absolute;   left: 152px;   top: 0; }  .flask_throat_one {   position: absolute;   transform: rotate(24deg);   transform-origin: right top;   background-color: #5c30ae;   width: 150px;   height: 50px;   position: absolute;   z-index: 3;   right: -26px;   top: 110px; }  .flask_throat_two {   position: absolute;   transform: rotate(20deg);   transform-origin: right top;   background-color: #37acdd;   width: 150px;   height: 60px;   position: absolute;   z-index: 3;   right: -35px;   top: 35px; }  .flask_throat_three {   position: absolute;   background-color: #5c30ae;   width: 100%;   height: 50px;   position: absolute;   z-index: 3;   right: 0;   bottom: 0; }  .flask_throat_four {   position: absolute;   transform: rotate(20deg);   transform-origin: right top;   background-color: #6c49ac;   width: 150px;   height: 20px;   position: absolute;   z-index: 3;   right: -45px;   top: 100px; }<\/code><\/pre>\n<p>  \u041f\u0440\u0438\u043d\u0446\u0438\u043f \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u043a\u0430\u043a \u0438 \u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f. \u0422\u0430\u043a \u0447\u0442\u043e \u044d\u0442\u043e \u0437\u0430\u0434\u0430\u0447\u0430 \u0443\u0436\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0443 \u0432\u0430\u0441 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438! \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0443 \u043d\u0430\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u0430\u044f \u043a\u043e\u043b\u0431\u0430!<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/935\/ba5\/886\/935ba58868ed4ce8917ec18856ddff94.jpg\" alt=\"image\"\/><\/p>\n<h3>\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043f\u0443\u0437\u044b\u0440\u044c\u043a\u043e\u0432<\/h3>\n<p>  \u0423 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u043a\u043e\u043b\u0431\u0430 \u0438 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438\u0437 \u043d\u0435\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043f\u0443\u0437\u044b\u0440\u044c\u043a\u0438. \u041e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0437\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0438 \u0446\u0432\u0435\u0442\u0430. \u041f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u043d\u043e\u0439.<\/p>\n<p>  \u0414\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0443\u0437\u044b\u0440\u044c\u043a\u043e\u0432 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 CSS, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e border-radius. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0440\u0443\u0433\u043b\u0438\u0442\u044c \u0443\u0433\u043b\u044b \u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c 3 \u0440\u0430\u0437\u043d\u043e\u0446\u0432\u0435\u0442\u043d\u044b\u0445 \u043f\u0443\u0437\u044b\u0440\u044c\u043a\u0430 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430, \u043e\u0434\u0438\u043d \u0447\u0443\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435\u0433\u043e, \u0438 \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443:<\/p>\n<pre><code class=\"html\">&lt;div class=&quot;flask&quot;&gt;     &lt;div class=&quot;circle small_circle&quot;&gt;&lt;\/div&gt;     &lt;div class=&quot;circle middle_circle&quot;&gt;&lt;\/div&gt;     &lt;div class=&quot;circle little_circle little_circle_white&quot;&gt;&lt;\/div&gt;     &lt;div class=&quot;circle little_circle little_circle_purpure&quot;&gt;&lt;\/div&gt;     &lt;div class=&quot;circle little_circle little_circle_blue&quot;&gt;&lt;\/div&gt;     &lt;div class=&quot;flask_throat&quot;&gt;         &lt;div class=&quot;flask_throat_one&quot;&gt;&lt;\/div&gt;         &lt;div class=&quot;flask_throat_two&quot;&gt;&lt;\/div&gt;         &lt;div class=&quot;flask_throat_three&quot;&gt;&lt;\/div&gt;         &lt;div class=&quot;flask_throat_four&quot;&gt;&lt;\/div&gt;     &lt;\/div&gt;     &lt;div class=&quot;flask_bottom&quot;&gt;         &lt;div class=&quot;big_triangle&quot;&gt;             &lt;div class=&quot;flask_bottom_one&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_two&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_three&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_four&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_five&quot;&gt;&lt;\/div&gt;             &lt;div class=&quot;flask_bottom_six&quot;&gt;&lt;\/div&gt;         &lt;\/div&gt;     &lt;\/div&gt; &lt;\/div&gt;<\/code><\/pre>\n<p>  \u0418 \u0434\u043e\u0431\u0430\u0432\u0438\u043c css:<\/p>\n<pre><code class=\"css\">.circle {   border-radius: 50%;   border: 1px solid #fff;   position: absolute;   left: 45%;   top: 30px; }  .little_circle {   width: 5px;   height: 5px; }  .little_circle_white {   background-color: #fff;   left: 48%; }  .little_circle_purpure {   background-color: #6c49ac;   border: 1px solid #6c49ac;   left: 52%; }  .little_circle_blue {   background-color: #117fba;   border: 1px solid #117fba;   left: 45%; }  .small_circle {   width: 20px;   height: 20px; }  .middle_circle {   width: 45px;   height: 45px; }<\/code><\/pre>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0433\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e @ keyframes. \u0421\u0430\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c. \u041f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0443\u0437\u044b\u0440\u044c\u043a\u0438 \u0438\u043c\u0435\u044e\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b 20 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u043f\u043e \u043e\u0441\u0438 Y. \u041f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u043f\u0443\u0437\u044b\u0440\u044c\u043a\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0434\u0432\u0438\u0433\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u043e\u0441\u0438 Y \u043e\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0434\u043e -200px. \u041f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e \u043f\u043e \u043e\u0441\u0438 Y \u043f\u0443\u0437\u044b\u0440\u044c\u043a\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0443\u0434\u0430\u043b\u044f\u0442\u044c\u0441\u044f \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e transform. \u0422\u0430\u043a\u0436\u0435, \u043f\u0440\u0438 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0438 \u043f\u0443\u0437\u044b\u0440\u044c\u043a\u043e\u0432 \u043e\u043d\u0438 \u043f\u043b\u0430\u0432\u043d\u043e \u0438\u0441\u0447\u0435\u0437\u0430\u044e\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 opacity.<\/p>\n<p>  \u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0441\u043e\u0437\u0434\u0430\u043d, \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 circle. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e animation-name \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u2013 circle. \u0414\u0430\u043b\u0435\u0435, \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0443\u0437\u044b\u0440\u044c\u043a\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 animation-delay, \u0438 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0432 \u0440\u0430\u0437\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u043a \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c \u0448\u0430\u0433\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 animation-iteration-count \u0434\u043b\u044f \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u044f \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"css\">.circle {   animation-name: circle;   animation-duration: 5s;   animation-iteration-count: infinite;   animation-delay: 0s; }  .little_circle_white {   animation-duration: 2000ms; }  .little_circle_purpure {   animation-duration: 2000ms;   animation-delay: 100ms; }  .little_circle_blue {   animation-duration: 2000ms;   animation-delay: 200ms; }  .small_circle {   animation-duration: 4200ms;   animation-delay: 300ms; }  @keyframes circle {   0% {     transform: translateZ(0px) translateY(20px) scale(1);     opacity: 1;   }   85% {     opacity: 0;   }   100% {     transform: translateZ(0px) translateY(-200px) scale(0);     opacity: 0;   } }<\/code><\/pre>\n<p>  <\/p>\n<h3>\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043a\u043e\u043b\u0431\u044b<\/h3>\n<p>  \u0414\u043b\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u043a\u043e\u043b\u0431\u044b \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441\u0432\u043e\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439:<\/p>\n<pre><code class=\"css\"> @keyframes animation_bg_element1 {   0% {     border-bottom-color: #3a2481;   }   25% {     border-bottom-color: #242781;   }   50% {     border-bottom-color: #244081;   }   75% {     border-bottom-color: #242781;   } }  @keyframes animation_bg_element2 {   0% {     border-bottom-color: #4266c0;   }   25% {     border-bottom-color: #4287c0;   }   50% {     border-bottom-color: #42a8c0;   }   75% {     border-bottom-color: #4287c0;   } }  @keyframes animation_bg_element3 {   0% {     background-color: #4248c0;   }   25% {     background-color: #4269c0;   }   50% {     background-color: #428ac0;   }   75% {     background-color: #4269c0;   } }  @keyframes animation_bg_element4 {   0% {     background-color: #37acdd;   }   25% {     background-color: #37d8dd;   }   50% {     background-color: #37ddb5;   }   75% {     background-color: #37d8dd;   } }  @keyframes animation_bg_element5 {   0% {     background-color: #1493c8;   }   25% {     background-color: #14c2c8;   }   50% {     background-color: #14c89d;   }   75% {     background-color: #14c2c8;   } }  @keyframes animation_bg_element6 {   0% {     background-color: #5c30ae;   }   25% {     background-color: #3a30ae;   }   50% {     background-color: #3048ae;   }   75% {     background-color: #3a30ae;   } }  @keyframes animation_bg_element7 {   0% {     background-color: #6c49ac;   }   25% {     background-color: #5249ac;   }   50% {     background-color: #495aac;   }   75% {     background-color: #5249ac;   } }<\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0432\u044b\u0437\u043e\u0432 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435:<\/p>\n<pre><code class=\"css\">.flask_throat_one {   animation-name: animation_bg_element6;   animation-duration: 5s;   animation-iteration-count: infinite;   animation-delay: 0s; }  .flask_throat_two {   animation-name: animation_bg_element5;   animation-duration: 5s;   animation-iteration-count: infinite;   animation-delay: 0s; }  .flask_throat_three {   animation-name: animation_bg_element6;   animation-duration: 5s;   animation-iteration-count: infinite;   animation-delay: 0s; }  .flask_throat_four {   animation-name: animation_bg_element7;   animation-duration: 5s;   animation-iteration-count: infinite;   animation-delay: 0s; }             .flask_bottom_one {   animation-name: animation_bg_element1;   animation-duration: 5s;   animation-iteration-count: infinite;   animation-delay: 0s; }  .flask_bottom_two {   animation-name: animation_bg_element2;   animation-duration: 5s;   animation-iteration-count: infinite;   animation-delay: 0s; }  .flask_bottom_three {   animation-name: animation_bg_element3;   animation-duration: 5s;   animation-iteration-count: infinite;   animation-delay: 0s; }  .flask_bottom_four {   animation-name: animation_bg_element4;   animation-duration: 5s;   animation-iteration-count: infinite;   animation-delay: 0s; }  .flask_bottom_five {   animation-name: animation_bg_element5;   animation-duration: 5s;   animation-iteration-count: infinite;   animation-delay: 0s; }  .flask_bottom_six {   animation-name: animation_bg_element6;   animation-duration: 5s;   animation-iteration-count: infinite;   animation-delay: 0s; }<\/code><\/pre>\n<p>  <\/p>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u0432\u0430\u043c \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 CSS. \u042f \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u043a \u044d\u0442\u043e\u043c\u0443, \u0438 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u044d\u0444\u0444\u0435\u043a\u0442\u043d\u044b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b. \u0412\u0435\u0441\u044c \u043a\u043e\u0434 \u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u043d\u0430 <a href=\"https:\/\/github.com\/melnik909\/the-animated-flask-css3\">GitHub<\/a>. \u0421\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=\"https:\/\/habrahabr.ru\/post\/277253\/\"> https:\/\/habrahabr.ru\/post\/277253\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044f \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043a\u043e\u043b\u0431\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u043e\u043b\u044c\u043a\u043e CSS3. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c <a href=\"http:\/\/stas-melnikov.ru\/articles\/css_flask\/demo\/\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u041d\u0443 \u0447\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e? \u0422\u043e\u0433\u0434\u0430 \u0434\u0430\u0432\u0430\u0439 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c!<\/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-274277","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/274277","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=274277"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/274277\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=274277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=274277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=274277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}