{"id":5656,"date":"2025-05-28T14:07:16","date_gmt":"2025-05-28T14:07:16","guid":{"rendered":"https:\/\/devblondie.com\/?p=5656"},"modified":"2025-05-28T14:12:35","modified_gmt":"2025-05-28T14:12:35","slug":"css-grid","status":"publish","type":"post","link":"https:\/\/devblondie.com\/css-grid\/","title":{"rendered":"CSS Grid &#8211; \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0437\u043d\u0430\u0435\u0448"},"content":{"rendered":"\n<nav class=\"wp-block-stackable-table-of-contents stk-block-table-of-contents stk-block stk-c01731d\" data-block-id=\"c01731d\"><p class=\"stk-table-of-contents__title\"><strong>\u0412 \u0442\u0430\u0437\u0438 \u0441\u0442\u0430\u0442\u0438\u044f:<\/strong><\/p><ul class=\"stk-table-of-contents__table\"><li><a href=\"#\u043a\u0430\u043a\u0432\u043e-\u0435-css-grid\">\u041a\u0430\u043a\u0432\u043e \u0435 CSS Grid<\/a><ul><li><a href=\"#\u043a\u0430\u043a-\u0434\u0430-\u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0448-css-grid\">\u041a\u0430\u043a \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0448 CSS Grid<\/a><\/li><li><a href=\"#\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430-\u043d\u0430-grid-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\">\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0430 grid \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430<\/a><ul><li><a href=\"#grid-template-columns\">grid-template-columns<\/a><\/li><li><a href=\"#grid-template-rows\">grid-template-rows<\/a><\/li><li><a href=\"#gap\">gap<\/a><\/li><li><a href=\"#justify-items\">justify-items<\/a><\/li><li><a href=\"#align-items\">align-items<\/a><\/li><\/ul><\/li><li><a href=\"#\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430-\u043d\u0430-grid-\u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0430-\u043a\u043b\u0435\u0442\u043a\u0430\u0442\u0430\">\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0430 grid \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0430 (\u043a\u043b\u0435\u0442\u043a\u0430\u0442\u0430)<\/a><ul><li><a href=\"#grid-column-start-grid-row-start\">grid-column-start \/ grid-row-start<\/a><\/li><li><a href=\"#justify-self\">justify-self<\/a><\/li><li><a href=\"#align-self\">align-self<\/a><\/li><\/ul><\/li><\/ul><\/li><li><a href=\"#responsive-css-grid\">Responsive CSS grid<\/a><\/li><li><a href=\"#\u043a\u043e\u0433\u0430-\u0434\u0430-\u0438\u0437\u043f\u043e\u043b\u0432\u0430\u043c\u0435-grid-\u0438-\u043a\u043e\u0433\u0430-flex\">\u041a\u043e\u0433\u0430 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0432\u0430\u043c\u0435 grid \u0438 \u043a\u043e\u0433\u0430 &#8211; flex<\/a><\/li><\/ul><\/nav>\n\n\n\n<p>\u0412 <a href=\"https:\/\/devblondie.com\/css-flex-vsichko-koeto-tryabva-da-znaesh\/\">\u043f\u0440\u0435\u0434\u0438\u0448\u0435\u043d \u0443\u0440\u043e\u043a<\/a> \u0442\u0435 \u0437\u0430\u043f\u043e\u0437\u043d\u0430\u0445 \u0441 <code>display: flex; <\/code>\u0438 \u043a\u0430\u043a \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439\u043a\u0438 \u0441\u044a\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0438 CSS layout \u043c\u043e\u0434\u0435\u043b\u0438 \u043c\u043e\u0436\u0435\u0448 \u0434\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u0430\u0448 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0442\u0430 \u0441\u0438 \u043f\u043e \u043d\u0430\u0447\u0438\u043d, \u043a\u043e\u0439\u0442\u043e \u0434\u0430 \u045d \u043f\u043e\u0437\u0432\u043e\u043b\u0438 \u0434\u0430 \u0441\u0435 \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u0430 \u0441\u043f\u0440\u044f\u043c\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438 \u0448\u0438\u0440\u0438\u043d\u0430 \u043d\u0430 \u0431\u0440\u0430\u0443\u0437\u044a\u0440.<\/p>\n\n\n\n<p>\u0412 \u0442\u0430\u0437\u0438 \u0441\u0442\u0430\u0442\u0438\u044f \u0449\u0435 \u0442\u0438 \u043f\u043e\u043a\u0430\u0436\u0430 \u043a\u0430\u043a\u0432\u043e \u0435 <strong>CSS Grid<\/strong> \u0438 \u043a\u0430\u043a \u043c\u043e\u0436\u0435\u0448 \u0434\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u0448 \u0434\u0430\u043b\u0435\u0447 \u043f\u043e-\u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u0438 layout-\u0438, \u043a\u043e\u0438\u0442\u043e \u0441\u0430 \u0434\u0432\u0443\u0438\u0437\u043c\u0435\u0440\u043d\u0438 (\u043d\u0438\u0449\u043e \u0441\u043b\u043e\u0436\u043d\u043e, \u043e\u0431\u0435\u0449\u0430\u0432\u0430\u043c \u0442\u0438).<\/p>\n\n\n\n<p>\u041d\u0435\u043a\u0430 \u0437\u0430\u043f\u043e\u0447\u043d\u0435\u043c \u043e\u0442 \u043e\u0441\u043d\u043e\u0432\u0438\u0442\u0435.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u043a\u0430\u043a\u0432\u043e-\u0435-css-grid\" style=\"line-height:1.2\">\u041a\u0430\u043a\u0432\u043e \u0435 CSS Grid<\/h2>\n\n\n\n<p>\u041a\u0430\u043a\u0442\u043e \u0442\u0438 \u0441\u043f\u043e\u043c\u0435\u043d\u0430\u0445 \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0440\u0435\u0434\u0430 \u043f\u043e-\u0433\u043e\u0440\u0435, CSS Grid \u0435 layout \u043c\u043e\u0434\u0435\u043b, \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u043a\u043e\u0439\u0442\u043e \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043c\u0435 \u0434\u0432\u0443\u0438\u0437\u043c\u0435\u0440\u043d\u0438 \u0438\u0437\u0433\u043b\u0435\u0434\u0438. \u041a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u0447\u0438\u0441\u0442 \u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438 &#8211; \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u043f\u043e\u043c\u0435\u0441\u0442\u0432\u0430\u043c\u0435 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0438 \u0432 \u0440\u0435\u0448\u0435\u0442\u043a\u0430, \u043a\u0430\u0442\u043e \u0437\u0430 \u0432\u0441\u0435\u043a\u0438 \u0435\u043b\u0435\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u043f\u043e\u0434\u0430\u0432\u0430\u043c\u0435 \u043d\u0430 \u043a\u043e\u043b\u043a\u043e \u0440\u0435\u0434\u0430 \u0438\u043b\u0438 \u043a\u043e\u043b\u043e\u043d\u0438 \u0434\u0430 \u0441\u0435 \u043f\u043e\u043c\u0435\u0449\u0430\u0432\u0430. \u0415\u0442\u043e \u0438 \u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430 \u0442\u043e\u0432\u0430 \u043a\u0430\u043a\u044a\u0432 layout \u043c\u043e\u0436\u0435 \u0434\u0430 \u043f\u043e\u0441\u0442\u0438\u0433\u043d\u0435\u0448, \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439\u043a\u0438 CSS Grid:<\/p>\n\n\n\n<div class=\"wp-block-stackable-image stk-block-image stk-block stk-8c20507\" data-block-id=\"8c20507\"><style>.stk-8c20507 {border-top-left-radius:10px !important;border-top-right-radius:10px !important;border-bottom-right-radius:10px !important;border-bottom-left-radius:10px !important;overflow:hidden !important;}<\/style><figure><span class=\"stk-img-wrapper stk-image--shape-stretch\"><img loading=\"lazy\" decoding=\"async\" class=\"stk-img wp-image-8100\" src=\"https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/bento-grid.jpg\" width=\"1920\" height=\"1200\" alt=\"bento-grid\" srcset=\"https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/bento-grid.jpg 1920w, https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/bento-grid-300x188.jpg 300w, https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/bento-grid-1024x640.jpg 1024w, https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/bento-grid-768x480.jpg 768w, https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/bento-grid-1536x960.jpg 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/span><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u043a\u0430\u043a-\u0434\u0430-\u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0448-css-grid\" style=\"line-height:1.2\">\u041a\u0430\u043a \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0448 CSS Grid<\/h3>\n\n\n\n<p>\u0417\u0430 \u0434\u0430 \u0441\u0435 \u0432\u044a\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0448 \u043e\u0442 \u043c\u043e\u0449\u0442\u0430 \u043d\u0430 \u0442\u043e\u0437\u0438 \u043c\u043e\u0434\u0435\u043b, \u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u0430 \u0438\u043c\u0430\u0448 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0441 \u0432\u043c\u0435\u0441\u0442\u0435\u043d\u0438 \u0432 \u043d\u0435\u0433\u043e \u0434\u0435\u0446\u0430 (parent -&gt; children), \u043a\u0430\u0442\u043e \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044f \u0435 \u0442\u043e\u0437\u0438, \u043d\u0430 \u043a\u043e\u0439\u0442\u043e \u043f\u043e\u0434\u0430\u0432\u0430\u043c\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u0442\u043e <code>display: grid;<\/code><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>&lt;style>\n  .container {\n      display: grid;\n  }\n&lt;\/style>\n\n&lt;div class=&#8220;container&#8220;>\n    &lt;div class=&#8220;item&#8220;>Some content&lt;\/div>\n    &lt;div class=&#8220;item&#8220;>Some content&lt;\/div>\n    &lt;div class=&#8220;item&#8220;>Some content&lt;\/div>\n&lt;\/div><\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #6E6A86\">&lt;<\/span><span style=\"color: #9CCFD8\">style<\/span><span style=\"color: #6E6A86\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">  <\/span><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">container<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">      <\/span><span style=\"color: #9CCFD8\">display<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #F6C177\">grid<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">  <\/span><span style=\"color: #908CAA\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6E6A86\">&lt;\/<\/span><span style=\"color: #9CCFD8\">style<\/span><span style=\"color: #6E6A86\">&gt;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #6E6A86\">&lt;<\/span><span style=\"color: #9CCFD8\">div<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #C4A7E7; font-style: italic\">class<\/span><span style=\"color: #908CAA\">=<\/span><span style=\"color: #F6C177\">&quot;container&quot;<\/span><span style=\"color: #6E6A86\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #6E6A86\">&lt;<\/span><span style=\"color: #9CCFD8\">div<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #C4A7E7; font-style: italic\">class<\/span><span style=\"color: #908CAA\">=<\/span><span style=\"color: #F6C177\">&quot;item&quot;<\/span><span style=\"color: #6E6A86\">&gt;<\/span><span style=\"color: #E0DEF4\">Some content<\/span><span style=\"color: #6E6A86\">&lt;\/<\/span><span style=\"color: #9CCFD8\">div<\/span><span style=\"color: #6E6A86\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #6E6A86\">&lt;<\/span><span style=\"color: #9CCFD8\">div<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #C4A7E7; font-style: italic\">class<\/span><span style=\"color: #908CAA\">=<\/span><span style=\"color: #F6C177\">&quot;item&quot;<\/span><span style=\"color: #6E6A86\">&gt;<\/span><span style=\"color: #E0DEF4\">Some content<\/span><span style=\"color: #6E6A86\">&lt;\/<\/span><span style=\"color: #9CCFD8\">div<\/span><span style=\"color: #6E6A86\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #6E6A86\">&lt;<\/span><span style=\"color: #9CCFD8\">div<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #C4A7E7; font-style: italic\">class<\/span><span style=\"color: #908CAA\">=<\/span><span style=\"color: #F6C177\">&quot;item&quot;<\/span><span style=\"color: #6E6A86\">&gt;<\/span><span style=\"color: #E0DEF4\">Some content<\/span><span style=\"color: #6E6A86\">&lt;\/<\/span><span style=\"color: #9CCFD8\">div<\/span><span style=\"color: #6E6A86\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6E6A86\">&lt;\/<\/span><span style=\"color: #9CCFD8\">div<\/span><span style=\"color: #6E6A86\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><strong>\u041d\u043e \u0442\u0443\u043a \u0438\u043c\u0430 \u0435\u0434\u043d\u0430 \u0442\u044a\u043d\u043a\u0430 \u0443\u043b\u043e\u0432\u043a\u0430. <\/strong>\u0410\u043a\u043e \u0441\u0438 \u0441\u043f\u043e\u043c\u043d\u044f\u0448, \u043a\u043e\u0433\u0430\u0442\u043e \u043d\u0430 \u0434\u0430\u0434\u0435\u043d \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0437\u0430\u0434\u0430\u0434\u0435\u043c <code>display: flex;<\/code> &#8211; \u0442\u043e\u0439 \u0432\u0435\u0434\u043d\u0430\u0433\u0430 (\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e) \u0440\u0430\u0437\u043f\u0440\u0435\u0434\u0435\u043b\u044f \u0434\u0435\u0446\u0430\u0442\u0430 \u0441\u0438 \u0432 \u043a\u043e\u043b\u043e\u043d\u0438 \u0432 \u0435\u0434\u0438\u043d \u0440\u0435\u0434. \u0422\u0443\u043a \u043d\u0435\u0449\u0430\u0442\u0430 \u043d\u0435 \u0441\u0442\u043e\u044f\u0442 \u0442\u0430\u043a\u0430 \u0438 \u0441\u0430\u043c\u043e \u0441 \u0442\u043e\u0437\u0438 \u0440\u0435\u0434 \u043a\u043e\u0434 &#8211; <code>display: grid;<\/code> \u043d\u044f\u043c\u0430 \u0434\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u0438\u043c \u043d\u0438\u0449\u043e \u0432 layout-\u0430 \u043d\u0430 \u0434\u0430\u0434\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440.<\/p>\n\n\n\n<p>\u0421\u0435\u0433\u0430 \u0449\u0435 \u0442\u0438 \u043e\u0431\u044f\u0441\u043d\u044f \u043f\u043e-\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430-\u043d\u0430-grid-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\" style=\"line-height:1.2\">\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0430 grid \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430<\/h3>\n\n\n\n<p>\u0421 <code>display: grid; <\/code>\u043f\u043e\u0434\u0430\u0432\u0430\u043c\u0435 \u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0430, \u043d\u043e \u0441\u0430 \u043d\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0438 \u043e\u0449\u0435 \u0434\u0432\u0430 \u0440\u0435\u0434\u0430 \u043a\u043e\u0434 (\u0432\u0441\u0435\u043a\u0438 \u043e\u0442 \u043a\u043e\u0438\u0442\u043e \u0438\u043c\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e + \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442), \u0430 \u0438\u043c\u0435\u043d\u043d\u043e:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"grid-template-columns\" style=\"line-height:1.2\">grid-template-columns<\/h4>\n\n\n\n<p>\u0421 \u0442\u043e\u0432\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u043e\u0434\u0430\u0432\u0430\u043c\u0435 \u043a\u043e\u043b\u043a\u043e \u043a\u043e\u043b\u043e\u043d\u0438 \u0449\u0435 \u0438\u043c\u0430 \u043d\u0430\u0448\u0430\u0442\u0430 \u0440\u0435\u0448\u0435\u0442\u043a\u0430, \u043a\u0430\u0442\u043e \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043c\u0435 \u0441\u043b\u0435\u0434\u043d\u0438\u044f \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.container {\n    grid-template-columns: 1fr 1fr 1fr;\n}\n    <\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">container<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-template-columns<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EBBCBA\">1<\/span><span style=\"color: #31748F\">fr<\/span><span style=\"color: #F6C177\"> <\/span><span style=\"color: #EBBCBA\">1<\/span><span style=\"color: #31748F\">fr<\/span><span style=\"color: #F6C177\"> <\/span><span style=\"color: #EBBCBA\">1<\/span><span style=\"color: #31748F\">fr<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u041e\u0442 snippet-\u0430 \u043f\u043e-\u0433\u043e\u0440\u0435 \u0441\u0442\u0430\u0432\u0430 \u044f\u0441\u043d\u043e, \u0447\u0435 \u0449\u0435 \u0438\u043c\u0430\u043c\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0441 \u0442\u0440\u0438 \u0435\u0434\u043d\u0430\u043a\u0432\u0438 \u043a\u043e\u043b\u043e\u043d\u0438 (\u043a\u0430\u0442\u043e \u0435\u0434\u0438\u043d\u0438\u0446\u0430\u0442\u0430 <code>fr<\/code> \u0438\u0434\u0432\u0430 \u043e\u0442 fraction).<\/p>\n\n\n\n<p>\u0421\u0438\u0433\u0443\u0440\u043d\u043e \u0441\u0435 \u043f\u0438\u0442\u0430\u0448 &#8222;<em>\u0430 \u0430\u043a\u043e \u0438\u043c\u0430\u043c 6 \u043a\u043e\u043b\u043e\u043d\u0435\u043d grid, \u0442\u043e\u0432\u0430 \u043e\u0437\u043d\u0430\u0447\u0430\u0432\u0430 \u043b\u0438, \u0447\u0435 \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u043d\u0430\u043f\u0438\u0448\u0430<\/em> <code>grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr<\/code>&#8222;?! \u041d\u0435. \u0418\u043c\u0430\u043c\u0435 \u0441\u044a\u043a\u0440\u0430\u0442\u0435\u043d\u043e \u0438\u0437\u043f\u0438\u0441\u0432\u0430\u043d\u0435 \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0442\u0430 <code>repeat()<\/code> \u0437\u0430 \u0442\u0430\u043a\u0438\u0432\u0430 \u0441\u043b\u0443\u0447\u0430\u0438:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.container {\n    grid-template-columns: repeat(6, 1fr);\n}\n    <\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">container<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-template-columns<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EB6F92; font-style: italic\">repeat<\/span><span style=\"color: #908CAA\">(<\/span><span style=\"color: #EBBCBA\">6<\/span><span style=\"color: #908CAA\">,<\/span><span style=\"color: #F6C177\"> <\/span><span style=\"color: #EBBCBA\">1<\/span><span style=\"color: #31748F\">fr<\/span><span style=\"color: #908CAA\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u0410 \u043a\u0430\u043a\u0432\u043e \u0430\u043a\u043e \u0438\u0441\u043a\u0430\u043c\u0435 \u0434\u0430 \u0438\u043c\u0430\u043c\u0435 \u043a\u043e\u043b\u043e\u043d\u0438 \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u0430 \u0448\u0438\u0440\u0438\u043d\u0430? \u041b\u0435\u0441\u043d\u043e \u0435, \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u0430\u043c\u0435 \u043a\u0430\u043a\u0442\u043e \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442\u0438, \u0442\u0430\u043a\u0430 \u0438 \u0435\u0434\u0438\u043d\u0438\u0446\u0438 \u0437\u0430 \u043f\u043e\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0438:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.container {\n    grid-template-columns: 50px auto 100px 1fr;\n}\n    <\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">container<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-template-columns<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EBBCBA\">50<\/span><span style=\"color: #31748F\">px<\/span><span style=\"color: #F6C177\"> auto <\/span><span style=\"color: #EBBCBA\">100<\/span><span style=\"color: #31748F\">px<\/span><span style=\"color: #F6C177\"> <\/span><span style=\"color: #EBBCBA\">1<\/span><span style=\"color: #31748F\">fr<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"has-palette-color-10-background-color has-background\">\u0412 \u043a\u0440\u0430\u044f \u043d\u0430 \u0442\u0430\u0437\u0438 \u0441\u0442\u0430\u0442\u0438\u044f \u0449\u0435 \u0442\u0438 \u0440\u0430\u0437\u043a\u0440\u0438\u044f \u0438 <strong>\u043d\u0430\u0439-\u0441\u044a\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0438\u044f\u0442<\/strong> \u0438 \u043b\u0435\u0441\u0435\u043d \u043d\u0430\u0447\u0438\u043d \u0437\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 grid, \u043a\u043e\u0439\u0442\u043e \u0435 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u0435\u043d, \u043f\u0440\u0438 \u0442\u043e\u0432\u0430 \u0431\u0435\u0437 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0448 media query-\u0442\u0430 \ud83d\ude09<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"grid-template-rows\" style=\"line-height:1.2\">grid-template-rows<\/h4>\n\n\n\n<p>\u041f\u043e\u0434\u043e\u0431\u043d\u043e \u043d\u0430 <code>grid-template-columns<\/code>, \u0441 \u0442\u043e\u0432\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u043c\u0435 \u043a\u043e\u043b\u043a\u043e \u0440\u0435\u0434\u0430 \u0438\u0441\u043a\u0430\u043c\u0435 \u0434\u0430 \u0438\u043c\u0430 \u043d\u0430\u0448\u0430\u0442\u0430 \u0440\u0435\u0448\u0435\u0442\u043a\u0430:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.container {\n    grid-template-rows: 80px auto 80px; \n}\n    <\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">container<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-template-rows<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EBBCBA\">80<\/span><span style=\"color: #31748F\">px<\/span><span style=\"color: #F6C177\"> auto <\/span><span style=\"color: #EBBCBA\">80<\/span><span style=\"color: #31748F\">px<\/span><span style=\"color: #908CAA\">;<\/span><span style=\"color: #E0DEF4\"> <\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u0418 \u0441\u044a\u0449\u043e \u043a\u0430\u0442\u043e \u043f\u0440\u0438 \u043a\u043e\u043b\u043e\u043d\u0438\u0442\u0435, \u0438 \u0442\u0443\u043a \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u0438\u043c\u0430\u043c\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u0438 \u0434\u0442\u043e\u0439\u043d\u043e\u0441\u0442\u0438 \u0437\u0430 \u0432\u0441\u0435\u043a\u0438 \u0440\u0435\u0434.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"gap\">gap<\/h4>\n\n\n\n<p>CSS Grid \u0438\u0434\u0432\u0430 \u0438 \u0441\u044a\u0441 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0437\u0430 \u0437\u0430\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u043e\u0442\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u043e\u0442\u0434\u0435\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043b\u043e\u043d\u0438 \u0438 \u0440\u0435\u0434\u043e\u0432\u0435. \u0422\u0443\u043a \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u043c \u043f\u043e \u0434\u0432\u0430 \u043d\u0430\u0447\u0438\u043d\u0430: \u0438\u043b\u0438 \u0434\u0430 \u043f\u043e\u0434\u0430\u0434\u0435\u043c \u0435\u0434\u043d\u0430 \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442 \u043d\u0430 <code>gap<\/code>, \u043a\u0430\u0442\u043e \u0442\u044f \u0449\u0435 \u0441\u0435 \u043e\u0442\u043d\u0430\u0441\u044f \u0438 \u0437\u0430 \u0440\u0435\u0434\u043e\u0432\u0435, \u0438 \u0437\u0430 \u043a\u043e\u043b\u043e\u043d\u0438, \u0438\u043b\u0438 \u043f\u044a\u043a \u0434\u0430 \u043f\u043e\u0434\u0430\u0434\u0435\u043c \u0442.\u043d\u0430\u0440. shorthand \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442, \u043a\u0430\u0442\u043e \u043f\u044a\u0440\u0432\u043e\u0442\u043e \u0447\u0438\u0441\u043b\u043e \u0449\u0435 \u0435 \u043e\u0442\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u0442\u043e \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043b\u043e\u043d\u0438\u0442\u0435, \u0430 \u0432\u0442\u043e\u0440\u043e\u0442\u043e &#8211; \u043c\u0435\u0436\u0434\u0443 \u0440\u0435\u0434\u043e\u0432\u0435\u0442\u0435:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.container {\n    grid-template-columns: repeat(5, 1fr);\n    grid-template-rows: 80px auto 80px \n    gap: 25px 20px;\n}<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">container<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-template-columns<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EB6F92; font-style: italic\">repeat<\/span><span style=\"color: #908CAA\">(<\/span><span style=\"color: #EBBCBA\">5<\/span><span style=\"color: #908CAA\">,<\/span><span style=\"color: #F6C177\"> <\/span><span style=\"color: #EBBCBA\">1<\/span><span style=\"color: #31748F\">fr<\/span><span style=\"color: #908CAA\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-template-rows<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EBBCBA\">80<\/span><span style=\"color: #31748F\">px<\/span><span style=\"color: #F6C177\"> auto <\/span><span style=\"color: #EBBCBA\">80<\/span><span style=\"color: #31748F\">px<\/span><span style=\"color: #F6C177\"> <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6C177\">    gap: <\/span><span style=\"color: #EBBCBA\">25<\/span><span style=\"color: #31748F\">px<\/span><span style=\"color: #F6C177\"> <\/span><span style=\"color: #EBBCBA\">20<\/span><span style=\"color: #31748F\">px<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"justify-items\">justify-items<\/h4>\n\n\n\n<p>\u0410 \u043a\u0430\u043a \u043f\u043e\u0434\u0440\u0435\u0436\u0434\u0430\u043c\u0435 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435\u0442\u043e \u043d\u0430 \u043a\u043b\u0435\u0442\u043a\u0438\u0442\u0435 \u043f\u043e \u0445\u043e\u0442\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0430? \u041f\u043e \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u043d\u0430\u0447\u0438\u043d\u0430, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.container {\n    justify-items: start;\n    \/* justify-items: end;\n    justify-items: center;\n    justify-items: stretch; *\/\n}<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">container<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">justify-items<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #F6C177\">start<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #908CAA; font-style: italic\">\/*<\/span><span style=\"color: #6E6A86; font-style: italic\"> justify-items: end;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6E6A86; font-style: italic\">    justify-items: center;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6E6A86; font-style: italic\">    justify-items: stretch; <\/span><span style=\"color: #908CAA; font-style: italic\">*\/<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u0412 \u0433\u043e\u0440\u043d\u0438\u044f snippet \u0441\u044a\u043c \u0442\u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430 \u043a\u0430\u043a \u043c\u043e\u0436\u0435 \u0434\u0430 \u043f\u043e\u0434\u0440\u0430\u0432\u043d\u0438\u0448 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435\u0442\u043e \u043d\u0430 \u0432\u0441\u044f\u043a\u0430 \u043a\u043b\u0435\u0442\u043a\u0430 \u0432 \u043d\u0435\u0439\u043d\u043e\u0442\u043e \u043d\u0430\u0447\u0430\u043b\u043e, \u0430 \u043a\u0430\u0442\u043e \u0437\u0430\u043a\u043e\u043c\u0435\u043d\u0442\u0438\u0440\u0430\u043d \u043a\u043e\u0434 &#8211; \u0432 \u043a\u0440\u0430\u044f, \u0432 \u0446\u0435\u043d\u0442\u044a\u0440\u0430 \u0438 \u043e\u0442 \u043a\u0440\u0430\u0439 \u0434\u043e \u043a\u0440\u0430\u0439.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"align-items\">align-items<\/h4>\n\n\n\n<p>\u0417\u0430 \u0434\u0430 \u043f\u043e\u0434\u0440\u0430\u0432\u043d\u0438\u043c \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0438\u0442\u0435 \u0432\u044a\u0432 \u0432\u0441\u044f\u043a\u0430 \u043a\u043b\u0435\u0442\u043a\u0430 \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0430, \u0442\u043e \u0449\u0435 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043c\u0435 <code>align-items<\/code> \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u0442\u043e, \u043a\u0430\u0442\u043e \u0438 \u0442\u0443\u043a \u0438\u043c\u0430\u043c\u0435 \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u043e\u043f\u0446\u0438\u0438 &#8211; \u043d\u0430\u0439-\u0433\u043e\u0440\u0435, \u0432 \u0441\u0440\u0435\u0434\u0430\u0442\u0430 \u0438 \u0432 \u0434\u044a\u043d\u043e\u0442\u043e \u043d\u0430 \u043a\u043b\u0435\u0442\u043a\u0430\u0442\u0430:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.container {\n    align-items: start;\n    \/* align-items: end;\n    align-items: center; *\/\n}<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">container<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">align-items<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #F6C177\">start<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #908CAA; font-style: italic\">\/*<\/span><span style=\"color: #6E6A86; font-style: italic\"> align-items: end;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6E6A86; font-style: italic\">    align-items: center; <\/span><span style=\"color: #908CAA; font-style: italic\">*\/<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430-\u043d\u0430-grid-\u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0430-\u043a\u043b\u0435\u0442\u043a\u0430\u0442\u0430\" style=\"line-height:1.2\">\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0430 grid \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0430 (\u043a\u043b\u0435\u0442\u043a\u0430\u0442\u0430)<\/h3>\n\n\n\n<p>\u041d\u0430\u0439-\u0433\u043e\u043b\u044f\u043c\u0430\u0442\u0430 \u043c\u0430\u0433\u0438\u044f \u043d\u0430 CSS grid \u0438\u0434\u0432\u0430 \u0441\u044a\u0441 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0442\u0430, \u043a\u043e\u0438\u0442\u043e \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u043f\u043e\u0434\u0430\u0434\u0435\u043c \u043d\u0430 \u0432\u0441\u044f\u043a\u0430 \u043e\u0442 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u043d\u0438\u0442\u0435 \u043a\u043b\u0435\u0442\u043a\u0438 \u0432 \u0440\u0435\u0448\u0435\u0442\u043a\u0430\u0442\u0430\/\u043c\u0440\u0435\u0436\u0430\u0442\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 &#8211; \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u043d\u0430\u043a\u0430\u0440\u0430\u043c\u0435 \u0435\u0434\u043d\u0430 \u043a\u043b\u0435\u0442\u043a\u0430 \u0434\u0430 \u0437\u0430\u0435\u043c\u0430 \u0434\u0432\u0435 \u043a\u043e\u043b\u043e\u043d\u0438, \u0438\u043b\u0438 \u043f\u044a\u043a \u0434\u0430 \u0435 \u0440\u0430\u0437\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0430 \u043d\u0430 \u0434\u0432\u0430 \u0440\u0435\u0434\u0430. \u041d\u0435\u043a\u0430 \u0432\u0438\u0434\u0438\u043c \u043a\u0430\u043a \u0441\u0442\u0430\u0432\u0430 \u0442\u043e\u0432\u0430.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"grid-column-start-grid-row-start\" style=\"line-height:1.2\">grid-column-start \/ grid-row-start<\/h4>\n\n\n\n<p>\u0421 <code>grid-column-start<\/code> \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u043c\u0435 \u043e\u0442 \u043a\u043e\u044f \u043a\u043e\u043b\u043e\u043d\u0430 \u0437\u0430\u043f\u043e\u0447\u0432\u0430 \u043d\u0430\u0448\u0430\u0442\u0430 \u043a\u043b\u0435\u0442\u043a\u0430, \u0430 \u0441 <code>grid-row-start<\/code> &#8211; \u043e\u0442 \u043a\u043e\u0439 \u0440\u0435\u0434:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.item {\n    grid-column-start: 2;\n    grid-row-start: 3;\n}<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">item<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-column-start<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EBBCBA\">2<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-row-start<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EBBCBA\">3<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e, \u0437\u0430 \u0434\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0432 \u043a\u043e\u044f \u043a\u043e\u043b\u043e\u043d\u0430 \u0437\u0430\u0432\u044a\u0440\u0448\u0432\u0430 \u0434\u0430\u0434\u0435\u043d\u0430\u0442\u0430 \u043a\u043b\u0435\u0442\u043a\u0430, \u043a\u0430\u043a\u0442\u043e \u0438 \u0432 \u043a\u043e\u0439 \u0440\u0435\u0434, \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043c\u0435 <code>grid-column-end<\/code> \u0438 <code>grid-row-end<\/code>:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.item {\n    grid-column-end: 2;\n    grid-row-end: 3;\n}<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">item<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-column-end<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EBBCBA\">2<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-row-end<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EBBCBA\">3<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u0418\u043c\u0430\u043c\u0435 \u0438 \u0442.\u043d\u0430\u0440. \u0441\u0445\u043e\u0440\u0442\u0445\u0430\u043d\u0434 \u0438\u0437\u043f\u0438\u0441\u0432\u0430\u043d\u0435, \u0441 \u043a\u043e\u0435\u0442\u043e \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u043f\u043e\u0434\u0430\u0434\u0435\u043c \u0442\u0435\u0437\u0438 \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u043f\u043e-\u043a\u0440\u0430\u0442\u044a\u043a \u043d\u0430\u0447\u0438\u043d:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.item-a {\n    grid-column: 4 \/ span 3;\n    grid-row: third-line \/ 4;\n}<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">item-a<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-column<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EBBCBA\">4<\/span><span style=\"color: #F6C177\"> \/ span <\/span><span style=\"color: #EBBCBA\">3<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-row<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #F6C177\">third-line \/ <\/span><span style=\"color: #EBBCBA\">4<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"justify-self\">justify-self<\/h4>\n\n\n\n<p>\u0410\u043a\u043e \u043f\u044a\u043a \u0438\u0441\u043a\u0430\u043c\u0435 \u0434\u0430 \u043f\u043e\u0434\u0440\u0430\u0432\u043d\u0438\u043c \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435\u0442\u043e \u043d\u0430 \u0434\u0430\u0434\u0435\u043d\u0430 \u043a\u043b\u0435\u0442\u043a\u0430 \u043f\u043e \u0445\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0430, \u0442\u043e \u0449\u0435 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043c\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u0442\u043e <code>justify-self<\/code>:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.item-b {\n    justify-self: start | end | center | stretch;\n}<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">item-b<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">justify-self<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #F6C177\">start | end | center | stretch<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"align-self\">align-self<\/h4>\n\n\n\n<p>\u041a\u0430\u043a\u0442\u043e \u0432\u0435\u0447\u0435 \u0441\u0435 \u0434\u043e\u0441\u0435\u0449\u0430\u0448, \u0437\u0430 \u0434\u0430 \u043f\u043e\u0434\u0440\u0430\u0432\u043d\u0438\u043c \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435\u0442\u043e \u043d\u0430 \u0434\u0430\u0434\u0435\u043d\u0430 \u043a\u043b\u0435\u0442\u043a\u0430 \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0430, \u0449\u0435 \u0433\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u043c \u0441 <code>align-self<\/code>:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.item-c {\n    align-self: start | end | center | stretch;\n}<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">item-c<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">align-self<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #F6C177\">start | end | center | stretch<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"responsive-css-grid\" style=\"line-height:1.2\">Responsive CSS grid<\/h2>\n\n\n\n<p>\u0410\u043a\u043e \u0441\u0438 \u0432\u043d\u0438\u043c\u0430\u0432\u0430\u043b\/\u0430, \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0440\u0435\u0434\u0430 \u043f\u043e-\u043d\u0430\u0433\u043e\u0440\u0435 \u0442\u0438 \u043e\u0431\u0435\u0449\u0430\u0445, \u0447\u0435 \u0449\u0435 \u0442\u0438 \u0441\u043f\u043e\u0434\u0435\u043b\u044f \u043a\u0430\u043a \u043c\u043e\u0436\u0435\u0448 \u0434\u0430 \u043f\u043e\u0441\u0442\u0438\u0433\u043d\u0435\u0448 \u043d\u0430\u043f\u044a\u043b\u043d\u043e \u0444\u043b\u0443\u0438\u0434\u0435\u043d \u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u0435\u043d grid \u043f\u0440\u0438 \u0442\u043e\u0432\u0430 \u0431\u0435\u0437 \u0443\u043f\u043e\u0442\u0440\u0435\u0431\u0430\u0442\u0430 \u043d\u0430 media query-\u0442\u0430. \u0414\u0430 \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u043c\u0435 \u0441\u043b\u0435\u0434\u043d\u0438\u044f snippet:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#191724\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e0def4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><textarea class=\"code-block-pro-copy-button-textarea\" aria-hidden=\"true\" readonly>.container {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n}<\/textarea><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki rose-pine\" style=\"background-color: #191724\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #908CAA; font-style: italic\">.<\/span><span style=\"color: #C4A7E7; font-style: italic\">container<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #908CAA\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">display<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #F6C177\">grid<\/span><span style=\"color: #908CAA\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E0DEF4\">    <\/span><span style=\"color: #9CCFD8\">grid-template-columns<\/span><span style=\"color: #908CAA\">:<\/span><span style=\"color: #E0DEF4\"> <\/span><span style=\"color: #EB6F92; font-style: italic\">repeat<\/span><span style=\"color: #908CAA\">(<\/span><span style=\"color: #F6C177\">auto-fit<\/span><span style=\"color: #908CAA\">,<\/span><span style=\"color: #F6C177\"> <\/span><span style=\"color: #EB6F92; font-style: italic\">minmax<\/span><span style=\"color: #908CAA\">(<\/span><span style=\"color: #EBBCBA\">250<\/span><span style=\"color: #31748F\">px<\/span><span style=\"color: #908CAA\">,<\/span><span style=\"color: #F6C177\"> <\/span><span style=\"color: #EBBCBA\">1<\/span><span style=\"color: #31748F\">fr<\/span><span style=\"color: #908CAA\">));<\/span><\/span>\n<span class=\"line\"><span style=\"color: #908CAA\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u041c\u0430\u0433\u0438\u044f\u0442\u0430 \u0442\u0443\u043a \u0438\u0434\u0432\u0430 \u043e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0442\u0430 <code>repeat()<\/code> \u0438 \u043d\u0435\u0439\u043d\u0438\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 &#8211; <code>autofit<\/code> \u0438 <code>minmax<\/code>. \u041a\u0430\u043a\u0432\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0432\u0430 \u0442\u043e\u0432\u0430 \u043d\u0430 \u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438 \u0435\u0437\u0438\u043a? \u0421 <code>repeat()<\/code> \u043a\u0430\u0437\u0432\u0430\u043c\u0435 \u0434\u0430 \u043f\u043e\u0432\u0442\u0430\u0440\u044f\u043c\u0435 \u0442\u043e\u043b\u043a\u043e\u0432\u0430 \u043a\u043e\u043b\u043e\u043d\u0438, \u043a\u043e\u043b\u043a\u043e\u0442\u043e \u0441\u0435 \u0441\u044a\u0431\u0438\u0440\u0430\u0442 \u043d\u0430 \u0442\u043e\u0437\u0438 \u0440\u0435\u0434, \u0434\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430, \u0434\u043e \u043a\u043e\u0439\u0442\u043e \u0435\u0434\u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0441\u0435 \u0441\u044a\u0431\u0435\u0440\u0435, \u043f\u043e\u043d\u0435\u0436\u0435 \u0435 250px \u0448\u0438\u0440\u043e\u043a\u0430 (\u043f\u0440\u0438 \u043f\u043e-\u043c\u0430\u043b\u043a\u0438 \u0435\u043a\u0440\u0430\u043d\u0438 \u0449\u0435 \u0437\u0430\u0435\u043c\u0430 100% \u043e\u0442 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e\u0442\u043e).<\/p>\n\n\n\n<p><a href=\"https:\/\/devblondie.com\/snippet\/responsive-css-grid\/\">\u0422\u0443\u043a<\/a> \u0441\u044a\u043c \u0442\u0438 \u043f\u0440\u0438\u0433\u043e\u0442\u0432\u0438\u043b\u0430 \u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u0435\u043d \u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u0438\u0434\u0440\u0443\u0436\u0435\u043d \u043e\u0442 <a href=\"https:\/\/codepen.io\/devblondie\/pen\/vEYgpaB\" target=\"_blank\" rel=\"noreferrer noopener\">CodePen<\/a> \u0434\u0435\u043c\u043e.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u043a\u043e\u0433\u0430-\u0434\u0430-\u0438\u0437\u043f\u043e\u043b\u0432\u0430\u043c\u0435-grid-\u0438-\u043a\u043e\u0433\u0430-flex\" style=\"line-height:1.2\">\u041a\u043e\u0433\u0430 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0432\u0430\u043c\u0435 grid \u0438 \u043a\u043e\u0433\u0430 &#8211; flex<\/h2>\n\n\n\n<p>\u0427\u0435\u0441\u0442\u043e \u043f\u043e \u0432\u0440\u0435\u043c\u0435 \u043d\u0430 <a href=\"https:\/\/devblondie.com\/obuchenia\/\">\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f\u0442\u0430<\/a>, \u043a\u043e\u0438\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0436\u0434\u0430\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u043c \u0432\u044a\u043f\u0440\u043e\u0441 &#8222;<em>\u043a\u043e\u0433\u0430 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043c grid \u0438 \u043a\u043e\u0433\u0430 flex<\/em>&#8222;?<\/p>\n\n\n\n<p>\u041e\u0442\u0433\u043e\u0432\u043e\u0440\u044a\u0442, \u043a\u043e\u0439\u0442\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u043c \u0438 \u0434\u0430\u0432\u0430\u043c \u0435: \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043c\u0435 <code>display: flex;<\/code> \u0437\u0430 layout, \u043a\u043e\u0439\u0442\u043e \u0435 \u043f\u043e-\u043f\u0440\u043e\u0441\u0442 &#8211; \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 header, \u0432 \u043a\u043e\u0439\u0442\u043e \u0438\u043c\u0430\u043c\u0435 \u043b\u043e\u0433\u043e \u0432\u043b\u044f\u0432\u043e \u0438 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043e\u043d\u043d\u043e \u043c\u0435\u043d\u044e \u0432 \u0434\u044f\u0441\u043d\u043e. \u0418\u043b\u0438 \u043f\u044a\u043a &#8211; \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440, \u0447\u0438\u044f\u0442\u043e \u043b\u044f\u0432\u0430 \u0441\u0442\u0440\u0430\u043d\u0430 \u0441\u0435 \u0441\u044a\u0441\u0442\u043e\u0438 \u043e\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u0430 \u0434\u044f\u0441\u043d\u0430\u0442\u0430 &#8211; \u0442\u0435\u043a\u0441\u0442.<\/p>\n\n\n\n<p>\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043c\u0435 <code>display: grid;<\/code> \u0442\u043e\u0433\u0430\u0432\u0430, \u043a\u043e\u0433\u0430\u0442\u043e \u0438\u043c\u0430\u043c\u0435 \u043f\u043e-\u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u0435\u043d layout \u0438 \u043a\u043b\u0435\u0442\u043a\u0438, \u043a\u043e\u0438\u0442\u043e \u0441\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0432\u0430\u0442 \u0435\u0434\u043d\u0430 \u043e\u0442 \u0434\u0440\u0443\u0433\u0430 (\u0442\u0430\u043a\u0438\u0432\u0430, \u043a\u043e\u0438\u0442\u043e \u0437\u0430\u0435\u043c\u0430\u0442 \u043f\u043e\u0432\u0435\u0447\u0435 \u043e\u0442 \u0435\u0434\u0438\u043d \u0440\u0435\u0434 \u0438\u043b\u0438 \u043f\u043e\u0432\u0435\u0447\u0435 \u043e\u0442 \u0435\u0434\u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0430).<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-palette-color-10-background-color has-background\">\u0410 \u0430\u043a\u043e \u0438\u0441\u043a\u0430\u0448 \u0438 \u0442\u0438 \u0434\u0430 \u043d\u0430\u0443\u0447\u0438\u0448 \u043a\u0430\u043a \u0434\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u0448 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0438, \u0442\u043e \u0438\u043c\u0430\u043c \u043d\u043e\u0432\u0438\u043d\u0430 \u0437\u0430 \u0442\u0435\u0431 &#8211; \u0432\u0435\u0447\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0434\u043e\u0441\u0442\u044a\u043f\u0438\u0448 \u0432\u0441\u0438\u0447\u043a\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0438 \u043e\u0442 <strong>\u043d\u0430\u0439-\u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430\u0442\u0430 \u0440\u0430\u0431\u043e\u0442\u0438\u043b\u043d\u0438\u0446\u0430<\/strong> \u043d\u0430 {dev} blondie; &#8211; <strong><a href=\"https:\/\/devblondie.com\/module\/osnovi-na-html-i-css\/\">\u041e\u0441\u043d\u043e\u0432\u0438 \u043d\u0430 HTML5 \u0438 CSS3<\/a><\/strong>. \u0412\u0437\u0435\u043c\u0438 4 \u0447\u0430\u0441\u0430 \u0432\u0438\u0434\u0435\u043e \u0438 \u0432\u0441\u0438\u0447\u043a\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0438 \u043f\u043b\u044e\u0441 \u0434\u043e\u043f\u044a\u043b\u043d\u0438\u0442\u0435\u043b\u043d\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f. <\/p>\n\n\n\n<div class=\"wp-block-stackable-image stk-block-image stk-block stk-a6eb0cf\" data-block-id=\"a6eb0cf\"><style>.stk-a6eb0cf {border-top-left-radius:10px !important;border-top-right-radius:10px !important;border-bottom-right-radius:10px !important;border-bottom-left-radius:10px !important;overflow:hidden !important;}<\/style><figure><a class=\"stk-link\" href=\"https:\/\/devblondie.com\/module\/osnovi-na-html-i-css\/\"><span class=\"stk-img-wrapper stk-image--shape-stretch\"><img loading=\"lazy\" decoding=\"async\" class=\"stk-img wp-image-8078\" src=\"https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/osnovi-na-html5-i-css3.jpg\" width=\"1000\" height=\"800\" alt=\"\u041e\u0441\u043d\u043e\u0432\u0438 \u043d\u0430 HTML5 \u0438 CSS3\" srcset=\"https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/osnovi-na-html5-i-css3.jpg 1000w, https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/osnovi-na-html5-i-css3-300x240.jpg 300w, https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/osnovi-na-html5-i-css3-768x614.jpg 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/span><\/a><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u0442\u043e\u0437\u0438 \u0443\u0440\u043e\u043a \u0442\u0438 \u0441\u043f\u043e\u0434\u0435\u043b\u044f\u043c \u0437\u0430 (\u043f\u043e \u043c\u043e\u0435 \u043c\u043d\u0435\u043d\u0438\u0435) \u043d\u0430\u0439-\u043c\u043e\u0449\u043d\u0438\u044f layout \u043c\u043e\u0434\u0435\u043b \u043e\u0442 CSS, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e &#8211; grid. \u041d\u0430\u0443\u0447\u0438 \u043a\u0430\u043a \u0434\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u0448 \u0434\u0432\u0443\u0438\u0437\u043c\u0435\u0440\u043d\u0438 layout-\u0438, \u043a\u043e\u0438\u0442\u043e \u043e\u0441\u0432\u0435\u043d \u0442\u043e\u0432\u0430 \u0441\u0430 \u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u0438.<\/p>\n","protected":false},"author":1,"featured_media":8101,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[227],"tags":[],"class_list":["post-5656","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-front-end"],"blocksy_meta":[],"acf":[],"featured_image_urls_v2":{"full":["https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid.jpg",1200,800,false],"thumbnail":["https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid-150x150.jpg",150,150,true],"medium":["https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid-300x200.jpg",300,200,true],"medium_large":["https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid-768x512.jpg",768,512,true],"large":["https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid-1024x683.jpg",1024,683,true],"1536x1536":["https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid.jpg",1200,800,false],"2048x2048":["https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid.jpg",1200,800,false]},"post_excerpt_stackable_v2":"<p>\u0412 \u0442\u043e\u0437\u0438 \u0443\u0440\u043e\u043a \u0442\u0438 \u0441\u043f\u043e\u0434\u0435\u043b\u044f\u043c \u0437\u0430 (\u043f\u043e \u043c\u043e\u0435 \u043c\u043d\u0435\u043d\u0438\u0435) \u043d\u0430\u0439-\u043c\u043e\u0449\u043d\u0438\u044f layout \u043c\u043e\u0434\u0435\u043b \u043e\u0442 CSS, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e &#8211; grid. \u041d\u0430\u0443\u0447\u0438 \u043a\u0430\u043a \u0434\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u0448 \u0434\u0432\u0443\u0438\u0437\u043c\u0435\u0440\u043d\u0438 layout-\u0438, \u043a\u043e\u0438\u0442\u043e \u043e\u0441\u0432\u0435\u043d \u0442\u043e\u0432\u0430 \u0441\u0430 \u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u0438.<\/p>\n","category_list_v2":"<a href=\"https:\/\/devblondie.com\/category\/front-end\/\" rel=\"category tag\">\u0443\u0440\u043e\u0446\u0438 \u0438 \u0441\u0442\u0430\u0442\u0438\u0438<\/a>","author_info_v2":{"name":"Petya","url":"https:\/\/devblondie.com\/author\/petya\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CSS Grid - \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0437\u043d\u0430\u0435\u0448 - {dev} blondie;<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devblondie.com\/css-grid\/\" \/>\n<meta property=\"og:locale\" content=\"bg_BG\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS Grid - \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0437\u043d\u0430\u0435\u0448 - {dev} blondie;\" \/>\n<meta property=\"og:description\" content=\"\u0412 \u0442\u043e\u0437\u0438 \u0443\u0440\u043e\u043a \u0442\u0438 \u0441\u043f\u043e\u0434\u0435\u043b\u044f\u043c \u0437\u0430 (\u043f\u043e \u043c\u043e\u0435 \u043c\u043d\u0435\u043d\u0438\u0435) \u043d\u0430\u0439-\u043c\u043e\u0449\u043d\u0438\u044f layout \u043c\u043e\u0434\u0435\u043b \u043e\u0442 CSS, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e - grid. \u041d\u0430\u0443\u0447\u0438 \u043a\u0430\u043a \u0434\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u0448 \u0434\u0432\u0443\u0438\u0437\u043c\u0435\u0440\u043d\u0438 layout-\u0438, \u043a\u043e\u0438\u0442\u043e \u043e\u0441\u0432\u0435\u043d \u0442\u043e\u0432\u0430 \u0441\u0430 \u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u0438.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devblondie.com\/css-grid\/\" \/>\n<meta property=\"og:site_name\" content=\"{dev} blondie;\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-28T14:07:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-28T14:12:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Petya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Petya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u043c\u0438\u043d\u0443\u0442\u0438\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/\"},\"author\":{\"name\":\"Petya\",\"@id\":\"https:\\\/\\\/devblondie.com\\\/#\\\/schema\\\/person\\\/74a44d3c8b9f7dc42ee4df9d0154a392\"},\"headline\":\"CSS Grid &#8211; \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0437\u043d\u0430\u0435\u0448\",\"datePublished\":\"2025-05-28T14:07:16+00:00\",\"dateModified\":\"2025-05-28T14:12:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/\"},\"wordCount\":1035,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/devblondie.com\\\/#\\\/schema\\\/person\\\/74a44d3c8b9f7dc42ee4df9d0154a392\"},\"image\":{\"@id\":\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/devblondie.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/css-grid.jpg\",\"articleSection\":[\"\u0443\u0440\u043e\u0446\u0438 \u0438 \u0441\u0442\u0430\u0442\u0438\u0438\"],\"inLanguage\":\"bg-BG\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/\",\"url\":\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/\",\"name\":\"CSS Grid - \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0437\u043d\u0430\u0435\u0448 - {dev} blondie;\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devblondie.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/devblondie.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/css-grid.jpg\",\"datePublished\":\"2025-05-28T14:07:16+00:00\",\"dateModified\":\"2025-05-28T14:12:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/#breadcrumb\"},\"inLanguage\":\"bg-BG\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"bg-BG\",\"@id\":\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/#primaryimage\",\"url\":\"https:\\\/\\\/devblondie.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/css-grid.jpg\",\"contentUrl\":\"https:\\\/\\\/devblondie.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/css-grid.jpg\",\"width\":1200,\"height\":800,\"caption\":\"CSS Grid\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/devblondie.com\\\/css-grid\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u041d\u0430\u0447\u0430\u043b\u043e\",\"item\":\"https:\\\/\\\/devblondie.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CSS Grid &#8211; \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0437\u043d\u0430\u0435\u0448\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/devblondie.com\\\/#website\",\"url\":\"https:\\\/\\\/devblondie.com\\\/\",\"name\":\"{dev} blondie;\",\"description\":\"\u0423\u0440\u043e\u0446\u0438 \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0447\u043e\u0432\u0435\u0448\u043a\u0438 \u0435\u0437\u0438\u043a\",\"publisher\":{\"@id\":\"https:\\\/\\\/devblondie.com\\\/#\\\/schema\\\/person\\\/74a44d3c8b9f7dc42ee4df9d0154a392\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/devblondie.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"bg-BG\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/devblondie.com\\\/#\\\/schema\\\/person\\\/74a44d3c8b9f7dc42ee4df9d0154a392\",\"name\":\"Petya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"bg-BG\",\"@id\":\"https:\\\/\\\/devblondie.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/dev-blondie-logo-dark.png\",\"url\":\"https:\\\/\\\/devblondie.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/dev-blondie-logo-dark.png\",\"contentUrl\":\"https:\\\/\\\/devblondie.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/dev-blondie-logo-dark.png\",\"width\":1833,\"height\":300,\"caption\":\"Petya\"},\"logo\":{\"@id\":\"https:\\\/\\\/devblondie.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/dev-blondie-logo-dark.png\"},\"sameAs\":[\"https:\\\/\\\/devblondie.com\"],\"url\":\"https:\\\/\\\/devblondie.com\\\/author\\\/petya\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CSS Grid - \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0437\u043d\u0430\u0435\u0448 - {dev} blondie;","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devblondie.com\/css-grid\/","og_locale":"bg_BG","og_type":"article","og_title":"CSS Grid - \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0437\u043d\u0430\u0435\u0448 - {dev} blondie;","og_description":"\u0412 \u0442\u043e\u0437\u0438 \u0443\u0440\u043e\u043a \u0442\u0438 \u0441\u043f\u043e\u0434\u0435\u043b\u044f\u043c \u0437\u0430 (\u043f\u043e \u043c\u043e\u0435 \u043c\u043d\u0435\u043d\u0438\u0435) \u043d\u0430\u0439-\u043c\u043e\u0449\u043d\u0438\u044f layout \u043c\u043e\u0434\u0435\u043b \u043e\u0442 CSS, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e - grid. \u041d\u0430\u0443\u0447\u0438 \u043a\u0430\u043a \u0434\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u0448 \u0434\u0432\u0443\u0438\u0437\u043c\u0435\u0440\u043d\u0438 layout-\u0438, \u043a\u043e\u0438\u0442\u043e \u043e\u0441\u0432\u0435\u043d \u0442\u043e\u0432\u0430 \u0441\u0430 \u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u0438.","og_url":"https:\/\/devblondie.com\/css-grid\/","og_site_name":"{dev} blondie;","article_published_time":"2025-05-28T14:07:16+00:00","article_modified_time":"2025-05-28T14:12:35+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid.jpg","type":"image\/jpeg"}],"author":"Petya","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Petya","Est. reading time":"6 \u043c\u0438\u043d\u0443\u0442\u0438"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/devblondie.com\/css-grid\/#article","isPartOf":{"@id":"https:\/\/devblondie.com\/css-grid\/"},"author":{"name":"Petya","@id":"https:\/\/devblondie.com\/#\/schema\/person\/74a44d3c8b9f7dc42ee4df9d0154a392"},"headline":"CSS Grid &#8211; \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0437\u043d\u0430\u0435\u0448","datePublished":"2025-05-28T14:07:16+00:00","dateModified":"2025-05-28T14:12:35+00:00","mainEntityOfPage":{"@id":"https:\/\/devblondie.com\/css-grid\/"},"wordCount":1035,"commentCount":0,"publisher":{"@id":"https:\/\/devblondie.com\/#\/schema\/person\/74a44d3c8b9f7dc42ee4df9d0154a392"},"image":{"@id":"https:\/\/devblondie.com\/css-grid\/#primaryimage"},"thumbnailUrl":"https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid.jpg","articleSection":["\u0443\u0440\u043e\u0446\u0438 \u0438 \u0441\u0442\u0430\u0442\u0438\u0438"],"inLanguage":"bg-BG","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/devblondie.com\/css-grid\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/devblondie.com\/css-grid\/","url":"https:\/\/devblondie.com\/css-grid\/","name":"CSS Grid - \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0437\u043d\u0430\u0435\u0448 - {dev} blondie;","isPartOf":{"@id":"https:\/\/devblondie.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/devblondie.com\/css-grid\/#primaryimage"},"image":{"@id":"https:\/\/devblondie.com\/css-grid\/#primaryimage"},"thumbnailUrl":"https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid.jpg","datePublished":"2025-05-28T14:07:16+00:00","dateModified":"2025-05-28T14:12:35+00:00","breadcrumb":{"@id":"https:\/\/devblondie.com\/css-grid\/#breadcrumb"},"inLanguage":"bg-BG","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devblondie.com\/css-grid\/"]}]},{"@type":"ImageObject","inLanguage":"bg-BG","@id":"https:\/\/devblondie.com\/css-grid\/#primaryimage","url":"https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid.jpg","contentUrl":"https:\/\/devblondie.com\/wp-content\/uploads\/2025\/05\/css-grid.jpg","width":1200,"height":800,"caption":"CSS Grid"},{"@type":"BreadcrumbList","@id":"https:\/\/devblondie.com\/css-grid\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u041d\u0430\u0447\u0430\u043b\u043e","item":"https:\/\/devblondie.com\/"},{"@type":"ListItem","position":2,"name":"CSS Grid &#8211; \u0432\u0441\u0438\u0447\u043a\u043e, \u043a\u043e\u0435\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0437\u043d\u0430\u0435\u0448"}]},{"@type":"WebSite","@id":"https:\/\/devblondie.com\/#website","url":"https:\/\/devblondie.com\/","name":"{dev} blondie;","description":"\u0423\u0440\u043e\u0446\u0438 \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0447\u043e\u0432\u0435\u0448\u043a\u0438 \u0435\u0437\u0438\u043a","publisher":{"@id":"https:\/\/devblondie.com\/#\/schema\/person\/74a44d3c8b9f7dc42ee4df9d0154a392"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devblondie.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"bg-BG"},{"@type":["Person","Organization"],"@id":"https:\/\/devblondie.com\/#\/schema\/person\/74a44d3c8b9f7dc42ee4df9d0154a392","name":"Petya","image":{"@type":"ImageObject","inLanguage":"bg-BG","@id":"https:\/\/devblondie.com\/wp-content\/uploads\/2024\/07\/dev-blondie-logo-dark.png","url":"https:\/\/devblondie.com\/wp-content\/uploads\/2024\/07\/dev-blondie-logo-dark.png","contentUrl":"https:\/\/devblondie.com\/wp-content\/uploads\/2024\/07\/dev-blondie-logo-dark.png","width":1833,"height":300,"caption":"Petya"},"logo":{"@id":"https:\/\/devblondie.com\/wp-content\/uploads\/2024\/07\/dev-blondie-logo-dark.png"},"sameAs":["https:\/\/devblondie.com"],"url":"https:\/\/devblondie.com\/author\/petya\/"}]}},"_links":{"self":[{"href":"https:\/\/devblondie.com\/wp-json\/wp\/v2\/posts\/5656","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblondie.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblondie.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblondie.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devblondie.com\/wp-json\/wp\/v2\/comments?post=5656"}],"version-history":[{"count":0,"href":"https:\/\/devblondie.com\/wp-json\/wp\/v2\/posts\/5656\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblondie.com\/wp-json\/wp\/v2\/media\/8101"}],"wp:attachment":[{"href":"https:\/\/devblondie.com\/wp-json\/wp\/v2\/media?parent=5656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblondie.com\/wp-json\/wp\/v2\/categories?post=5656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblondie.com\/wp-json\/wp\/v2\/tags?post=5656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}