{"id":6438,"date":"2026-06-08T17:00:39","date_gmt":"2026-06-08T13:30:39","guid":{"rendered":"https:\/\/parmin.cloud\/blog\/?p=6438"},"modified":"2026-06-08T17:00:39","modified_gmt":"2026-06-08T13:30:39","slug":"%da%86%da%af%d9%88%d9%86%d9%87-%d8%a8%d8%a7-position-sticky-%d8%b9%d9%86%d8%a7%d8%b5%d8%b1-%da%86%d8%b3%d8%a8%d8%a7%d9%86-sticky-%d8%af%d8%b1-css-%d8%a8%d8%b3%d8%a7%d8%b2%db%8c%d9%85%d8%9f","status":"publish","type":"post","link":"https:\/\/parmin.cloud\/blog\/%da%86%da%af%d9%88%d9%86%d9%87-%d8%a8%d8%a7-position-sticky-%d8%b9%d9%86%d8%a7%d8%b5%d8%b1-%da%86%d8%b3%d8%a8%d8%a7%d9%86-sticky-%d8%af%d8%b1-css-%d8%a8%d8%b3%d8%a7%d8%b2%db%8c%d9%85%d8%9f\/","title":{"rendered":"\u0686\u06af\u0648\u0646\u0647 \u0628\u0627 position: sticky \u0639\u0646\u0627\u0635\u0631 \u0686\u0633\u0628\u0627\u0646 (Sticky) \u062f\u0631 CSS \u0628\u0633\u0627\u0632\u06cc\u0645\u061f"},"content":{"rendered":"<h2>\u0645\u0642\u062f\u0645\u0647<\/h2>\n<p>\u0627\u062d\u062a\u0645\u0627\u0644\u0627\u064b \u062a\u0627 \u0628\u0647 \u062d\u0627\u0644 \u0627\u0632 \u0648\u06cc\u0698\u06af\u06cc <code>position<\/code> \u062f\u0631 CSS \u0628\u0627 \u0645\u0642\u0627\u062f\u06cc\u0631 <code>relative<\/code> \u0648 <code>absolute<\/code> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f. \u0627\u0645\u0627 \u0645\u0631\u0648\u0631\u06af\u0631\u0647\u0627\u06cc \u0645\u062f\u0631\u0646 \u0627\u0645\u0631\u0648\u0632\u06cc \u0627\u0632 \u0645\u0642\u062f\u0627\u0631 \u062f\u06cc\u06af\u0631\u06cc \u0628\u0647 \u0646\u0627\u0645 <code>sticky<\/code> \u0646\u06cc\u0632 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/p>\n<p>\u0648\u06cc\u0698\u06af\u06cc <code>position: sticky<\/code> \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u06cc\u06a9 \u0639\u0646\u0635\u0631 \u0647\u0646\u06af\u0627\u0645 \u0627\u0633\u06a9\u0631\u0648\u0644 \u0635\u0641\u062d\u0647\u060c \u067e\u0633 \u0627\u0632 \u0631\u0633\u06cc\u062f\u0646 \u0628\u0647 \u06cc\u06a9 \u0645\u0648\u0642\u0639\u06cc\u062a \u0645\u0634\u062e\u0635 \u0628\u0647 \u062d\u0627\u0644\u062a \u0686\u0633\u0628\u0627\u0646 (Sticky) \u062f\u0631\u0628\u06cc\u0627\u06cc\u062f \u0648 \u062f\u0631 \u0647\u0645\u0627\u0646 \u0646\u0642\u0637\u0647 \u0628\u0627\u0642\u06cc \u0628\u0645\u0627\u0646\u062f.<\/p>\n<p>\u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647\u060c \u0639\u0646\u0635\u0631\u06cc \u06a9\u0647 <code>position: sticky<\/code> \u062f\u0627\u0631\u062f \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0645\u0627\u0646\u0646\u062f \u06cc\u06a9 \u0639\u0646\u0635\u0631 \u0628\u0627 \u0645\u0648\u0642\u0639\u06cc\u062a \u0646\u0633\u0628\u06cc (<code>relative<\/code>) \u0631\u0641\u062a\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0627\u0645\u0627 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0627\u0633\u06a9\u0631\u0648\u0644 \u0628\u0647 \u0645\u0642\u062f\u0627\u0631 \u062a\u0639\u06cc\u06cc\u0646\u200c\u0634\u062f\u0647 \u0628\u0631\u0633\u062f\u060c \u0628\u0647 \u06cc\u06a9 \u0639\u0646\u0635\u0631 \u062b\u0627\u0628\u062a \u062f\u0631 \u0647\u0645\u0627\u0646 \u0645\u062d\u062f\u0648\u062f\u0647 \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0627 \u06cc\u06a9 \u0645\u062b\u0627\u0644 \u0639\u0645\u0644\u06cc \u0646\u062d\u0648\u0647 \u0639\u0645\u0644\u06a9\u0631\u062f <code>position: sticky<\/code> \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/p>\n<hr \/>\n<h2>\u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627<\/h2>\n<p>\u0628\u0631\u0627\u06cc \u062f\u0646\u0628\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0628\u0627 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0622\u0634\u0646\u0627 \u0628\u0627\u0634\u06cc\u062f:<\/p>\n<ul>\n<li>\u0645\u0641\u0627\u0647\u06cc\u0645 \u067e\u0627\u06cc\u0647 CSS<\/li>\n<li>\u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627 \u0648 \u0645\u0642\u0627\u062f\u06cc\u0631 CSS<\/li>\n<li>\u06cc\u06a9 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 \u06a9\u062f<\/li>\n<li>\u0645\u0631\u0648\u0631\u06af\u0631\u06cc \u06a9\u0647 \u0627\u0632 <code>position: sticky<\/code> \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u06a9\u0646\u062f<\/li>\n<\/ul>\n<hr \/>\n<h2>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 position: sticky<\/h2>\n<p>\u0641\u0631\u0636 \u06a9\u0646\u06cc\u062f \u06cc\u06a9 \u06a9\u0627\u0646\u062a\u06cc\u0646\u0631 Flex \u062f\u0627\u0631\u06cc\u0645 \u06a9\u0647 \u0634\u0627\u0645\u0644 \u0686\u0647\u0627\u0631 \u0639\u0646\u0635\u0631 \u062f\u0627\u062e\u0644\u06cc \u0627\u0633\u062a. \u0647\u0631 \u0639\u0646\u0635\u0631 \u06cc\u06a9 \u062a\u0635\u0648\u06cc\u0631 \u0645\u062a\u0641\u0627\u0648\u062a \u0631\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc\u200c\u062f\u0647\u062f.<\/p>\n<p>\u0633\u0627\u062e\u062a\u0627\u0631 HTML \u0628\u0647 \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p>\n<pre><code class=\"language-html\">&lt;div class=\"container\"&gt;\r\n  &lt;div class=\"item shark-1\"&gt;\r\n    &lt;img src=\"\/images\/punk.png\" width=\"100\"&gt;\r\n  &lt;\/div&gt;\r\n\r\n  &lt;div class=\"item shark-2\"&gt;\r\n    &lt;img src=\"\/images\/pony.png\" width=\"100\"&gt;\r\n  &lt;\/div&gt;\r\n\r\n  &lt;div class=\"item shark-3\"&gt;\r\n    &lt;img src=\"\/images\/dino.png\" width=\"100\"&gt;\r\n  &lt;\/div&gt;\r\n\r\n  &lt;div class=\"item shark-4\"&gt;\r\n    &lt;img src=\"\/images\/steampunk.png\" width=\"100\"&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/code><\/pre>\n<p>\u062d\u0627\u0644 \u0627\u0633\u062a\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645:<\/p>\n<pre><code class=\"language-css\">.container {\r\n  display: flex;\r\n  justify-content: space-around;\r\n  align-items: flex-start;\r\n  border: 2px dashed rgba(114, 186, 94, 0.35);\r\n  height: 400px;\r\n  background: rgba(114, 186, 94, 0.05);\r\n}\r\n\r\n.shark-1 {\r\n  position: sticky;\r\n  top: 0;\r\n}\r\n\r\n.shark-2 {\r\n  position: sticky;\r\n  top: 4rem;\r\n}\r\n\r\n.shark-3 {\r\n  position: sticky;\r\n  bottom: 1rem;\r\n  align-self: flex-end;\r\n}\r\n<\/code><\/pre>\n<hr \/>\n<h2>\u0646\u06a9\u062a\u0647 \u0645\u0647\u0645 \u062f\u0631 Flexbox<\/h2>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u062b\u0627\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632:<\/p>\n<pre><code class=\"language-css\">align-items: flex-start;\r\n<\/code><\/pre>\n<p>\u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645 \u0627\u0633\u062a.<\/p>\n<p>\u062f\u0644\u06cc\u0644 \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0639\u0646\u0627\u0635\u0631 Flex \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0645\u0642\u062f\u0627\u0631 <code>stretch<\/code> \u062f\u0627\u0631\u0646\u062f \u0648 \u06a9\u0644 \u0627\u0631\u062a\u0641\u0627\u0639 \u06a9\u0627\u0646\u062a\u06cc\u0646\u0631 \u0631\u0627 \u0627\u0634\u063a\u0627\u0644 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. \u062f\u0631 \u0686\u0646\u06cc\u0646 \u062d\u0627\u0644\u062a\u06cc \u0627\u0641\u06a9\u062a Sticky \u0628\u0647\u200c\u062f\u0631\u0633\u062a\u06cc \u0639\u0645\u0644 \u0646\u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f.<\/p>\n<p>\u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0628\u0627\u06cc\u062f \u0627\u0632 <code>flex-start<\/code> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0639\u0646\u0627\u0635\u0631 \u0641\u0642\u0637 \u0628\u0647 \u0627\u0646\u062f\u0627\u0632\u0647 \u0645\u062d\u062a\u0648\u0627\u06cc \u062e\u0648\u062f \u0627\u0631\u062a\u0641\u0627\u0639 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f.<\/p>\n<hr \/>\n<h2>\u0645\u0634\u0627\u0647\u062f\u0647 \u0631\u0641\u062a\u0627\u0631 Sticky<\/h2>\n<p>\u067e\u0633 \u0627\u0632 \u0630\u062e\u06cc\u0631\u0647 \u0641\u0627\u06cc\u0644 \u0648 \u0627\u062c\u0631\u0627\u06cc \u0622\u0646 \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631\u060c \u0635\u0641\u062d\u0647 \u0631\u0627 \u0628\u0647 \u0628\u0627\u0644\u0627 \u0648 \u067e\u0627\u06cc\u06cc\u0646 \u0627\u0633\u06a9\u0631\u0648\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0645\u062a\u0648\u062c\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u0634\u062f \u06a9\u0647 \u0639\u0646\u0627\u0635\u0631\u06cc \u06a9\u0647 \u062f\u0627\u0631\u0627\u06cc <code>position: sticky<\/code> \u0647\u0633\u062a\u0646\u062f\u060c \u067e\u0633 \u0627\u0632 \u0631\u0633\u06cc\u062f\u0646 \u0628\u0647 \u0646\u0642\u0637\u0647 \u062a\u0639\u06cc\u06cc\u0646\u200c\u0634\u062f\u0647 \u0645\u062a\u0648\u0642\u0641 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u0648 \u062f\u0631 \u0647\u0645\u0627\u0646 \u0645\u0648\u0642\u0639\u06cc\u062a \u0628\u0627\u0642\u06cc \u0645\u06cc\u200c\u0645\u0627\u0646\u0646\u062f.<\/p>\n<p>\u0646\u06a9\u062a\u0647 \u0645\u0647\u0645 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0639\u0646\u0627\u0635\u0631 Sticky \u0641\u0642\u0637 \u062f\u0631 \u0645\u062d\u062f\u0648\u062f\u0647 \u0648\u0627\u0644\u062f (Parent) \u062e\u0648\u062f \u0686\u0633\u0628\u0627\u0646 \u0628\u0627\u0642\u06cc \u0645\u06cc\u200c\u0645\u0627\u0646\u0646\u062f \u0648 \u067e\u0633 \u0627\u0632 \u062e\u0631\u0648\u062c \u0627\u0632 \u0645\u062d\u062f\u0648\u062f\u0647 \u0648\u0627\u0644\u062f\u060c \u0631\u0641\u062a\u0627\u0631 Sticky \u0645\u062a\u0648\u0642\u0641 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<hr \/>\n<h2>\u0686\u0631\u0627 position: sticky \u06af\u0627\u0647\u06cc \u06a9\u0627\u0631 \u0646\u0645\u06cc\u200c\u06a9\u0646\u062f\u061f<\/h2>\n<p>\u062f\u0648 \u062f\u0644\u06cc\u0644 \u0631\u0627\u06cc\u062c \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0627\u0639\u062b \u0645\u06cc\u200c\u0634\u0648\u062f \u0639\u0646\u0635\u0631 Sticky \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u0639\u0645\u0644 \u0646\u06a9\u0646\u062f.<\/p>\n<h3>1. \u062a\u0639\u06cc\u06cc\u0646 \u0646\u06a9\u0631\u062f\u0646 \u0645\u0648\u0642\u0639\u06cc\u062a \u0686\u0633\u0628\u0646\u062f\u06af\u06cc<\/h3>\n<p>\u0635\u0631\u0641\u0627\u064b \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646:<\/p>\n<pre><code class=\"language-css\">position: sticky;\r\n<\/code><\/pre>\n<p>\u06a9\u0627\u0641\u06cc \u0646\u06cc\u0633\u062a.<\/p>\n<p>\u0628\u0627\u06cc\u062f \u062d\u062f\u0627\u0642\u0644 \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0646\u06cc\u0632 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code class=\"language-css\">top: 0;\r\n<\/code><\/pre>\n<p>\u06cc\u0627<\/p>\n<pre><code class=\"language-css\">bottom: 0;\r\n<\/code><\/pre>\n<p>\u0628\u0631\u0627\u06cc \u0627\u0633\u06a9\u0631\u0648\u0644 \u0627\u0641\u0642\u06cc \u0646\u06cc\u0632 \u0627\u0632 <code>left<\/code> \u06cc\u0627 <code>right<\/code> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<hr \/>\n<h3>2. \u0648\u062c\u0648\u062f overflow \u0646\u0627\u0633\u0627\u0632\u06af\u0627\u0631 \u062f\u0631 \u0648\u0627\u0644\u062f\u0647\u0627<\/h3>\n<p>\u0627\u06af\u0631 \u06cc\u06a9\u06cc \u0627\u0632 \u0648\u0627\u0644\u062f\u0647\u0627\u06cc \u0639\u0646\u0635\u0631 \u062f\u0627\u0631\u0627\u06cc \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0632\u06cc\u0631 \u0628\u0627\u0634\u062f:<\/p>\n<pre><code class=\"language-css\">overflow: hidden;\r\noverflow: auto;\r\noverflow: scroll;\r\n<\/code><\/pre>\n<p>\u0627\u062d\u062a\u0645\u0627\u0644 \u0632\u06cc\u0627\u062f\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 Sticky \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u06a9\u0627\u0631 \u0646\u06a9\u0646\u062f.<\/p>\n<p>\u0647\u0645\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0628\u0631\u0627\u06cc <code>overflow-x<\/code> \u0648 <code>overflow-y<\/code> \u0646\u06cc\u0632 \u0635\u062f\u0642 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n<hr \/>\n<h2>\u0628\u0631\u0631\u0633\u06cc \u0645\u062b\u0627\u0644<\/h2>\n<p>\u062f\u0631 \u0646\u0645\u0648\u0646\u0647 \u0628\u0627\u0644\u0627:<\/p>\n<ul>\n<li>\u0639\u0646\u0635\u0631 \u0627\u0648\u0644 (<code>shark-1<\/code>) \u0628\u0647 \u0628\u0627\u0644\u0627\u06cc \u0635\u0641\u062d\u0647 \u0645\u06cc\u200c\u0686\u0633\u0628\u062f.<\/li>\n<li>\u0639\u0646\u0635\u0631 \u062f\u0648\u0645 (<code>shark-2<\/code>) \u067e\u0633 \u0627\u0632 \u0631\u0633\u06cc\u062f\u0646 \u0628\u0647 \u0641\u0627\u0635\u0644\u0647 4rem \u0627\u0632 \u0628\u0627\u0644\u0627\u06cc \u0635\u0641\u062d\u0647 \u0645\u062a\u0648\u0642\u0641 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/li>\n<li>\u0639\u0646\u0635\u0631 \u0633\u0648\u0645 (<code>shark-3<\/code>) \u0646\u0633\u0628\u062a \u0628\u0647 \u067e\u0627\u06cc\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0631\u0641\u062a\u0627\u0631 Sticky \u062f\u0627\u0631\u062f.<\/li>\n<li>\u0639\u0646\u0635\u0631 \u0686\u0647\u0627\u0631\u0645 (<code>shark-4<\/code>) \u0647\u06cc\u0686 \u0631\u0641\u062a\u0627\u0631 Sticky \u0646\u062f\u0627\u0631\u062f\u060c \u0632\u06cc\u0631\u0627 \u0628\u0631\u0627\u06cc \u0622\u0646 <code>position: sticky<\/code> \u062a\u0639\u0631\u06cc\u0641 \u0646\u0634\u062f\u0647 \u0627\u0633\u062a.<\/li>\n<\/ul>\n<hr \/>\n<h2>\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u0631\u0648\u0631\u06af\u0631\u0647\u0627<\/h2>\n<p>\u0637\u0628\u0642 \u0622\u0645\u0627\u0631 \u0633\u0627\u0644 \u06f2\u06f0\u06f2\u06f0\u060c \u062d\u062f\u0648\u062f \u06f9\u06f5 \u062f\u0631\u0635\u062f \u0645\u0631\u0648\u0631\u06af\u0631\u0647\u0627 \u0627\u0632 <code>position: sticky<\/code> \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/p>\n<p>\u062a\u0646\u0647\u0627 \u0646\u06a9\u062a\u0647\u200c\u0627\u06cc \u06a9\u0647 \u0628\u0627\u06cc\u062f \u062f\u0631 \u0646\u0638\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc \u0642\u062f\u06cc\u0645\u06cc Safari \u0628\u0647 \u067e\u06cc\u0634\u0648\u0646\u062f \u0632\u06cc\u0631 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u0646\u062f:<\/p>\n<pre><code class=\"language-css\">position: -webkit-sticky;\r\nposition: sticky;\r\n<\/code><\/pre>\n<p>\u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0627\u06af\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0634\u0645\u0627 \u0627\u0632 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc \u0642\u062f\u06cc\u0645\u06cc Safari \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0627\u06cc\u0646 \u067e\u06cc\u0634\u0648\u0646\u062f \u0631\u0627 \u0646\u06cc\u0632 \u062f\u0631 \u06a9\u062f\u0647\u0627\u06cc \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<hr \/>\n<h2>\u062c\u0645\u0639\u200c\u0628\u0646\u062f\u06cc<\/h2>\n<p>\u0648\u06cc\u0698\u06af\u06cc <code>position: sticky<\/code> \u06cc\u06a9\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc\u200c\u062a\u0631\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627\u06cc CSS \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a \u0647\u062f\u0631\u0647\u0627\u06cc \u0686\u0633\u0628\u0627\u0646\u060c \u0645\u0646\u0648\u0647\u0627\u06cc \u062b\u0627\u0628\u062a\u060c \u0633\u0627\u06cc\u062f\u0628\u0627\u0631\u0647\u0627 \u0648 \u0639\u0646\u0627\u0635\u0631 \u0634\u0646\u0627\u0648\u0631 \u0647\u0646\u06af\u0627\u0645 \u0627\u0633\u06a9\u0631\u0648\u0644 \u0627\u0633\u062a.<\/p>\n<p>\u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 JavaScript \u0642\u0627\u0628\u0644 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0627\u0633\u062a \u0648 \u062f\u0631 \u0627\u06a9\u062b\u0631 \u0645\u0631\u0648\u0631\u06af\u0631\u0647\u0627\u06cc \u0645\u062f\u0631\u0646 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u0634\u0648\u062f. \u062a\u0646\u0647\u0627 \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u0645\u0648\u0642\u0639\u06cc\u062a \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0631\u0627 \u0628\u0627 <code>top<\/code>\u060c <code>bottom<\/code>\u060c <code>left<\/code> \u06cc\u0627 <code>right<\/code> \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f \u0648 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u0647\u06cc\u0686 \u0648\u0627\u0644\u062f\u06cc \u062f\u0627\u0631\u0627\u06cc <code>overflow<\/code> \u0646\u0627\u0633\u0627\u0632\u06af\u0627\u0631 \u0646\u0628\u0627\u0634\u062f.<\/p>\n<p>\u0627\u06af\u0631 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0627\u06cc\u062c\u0627\u062f \u0631\u0627\u0628\u0637\u200c\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u06cc \u0645\u062f\u0631\u0646 \u0648 \u062a\u062c\u0631\u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0628\u0647\u062a\u0631 \u0647\u0633\u062a\u06cc\u062f\u060c \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <code>position: sticky<\/code> \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0627\u0631\u062a\u200c\u0647\u0627\u06cc \u0636\u0631\u0648\u0631\u06cc \u062f\u0631 CSS \u0645\u062d\u0633\u0648\u0628 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u0627\u0632 \u0647\u0645\u0631\u0627\u0647\u06cc \u0634\u0645\u0627 \u0628\u0627 <strong><a href=\"https:\/\/parmin.cloud\/\">\u067e\u0627\u0631\u0645\u06cc\u0646 \u06a9\u0644\u0648\u062f<\/a><\/strong> \u0645\u062a\u0634\u06a9\u0631\u06cc\u0645.<\/p>\n<div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>\u0645\u0642\u062f\u0645\u0647 \u0627\u062d\u062a\u0645\u0627\u0644\u0627\u064b \u062a\u0627 \u0628\u0647 \u062d\u0627\u0644 \u0627\u0632 \u0648\u06cc\u0698\u06af\u06cc position \u062f\u0631 CSS \u0628\u0627 \u0645\u0642\u0627\u062f\u06cc\u0631 relative \u0648 absolute \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f. \u0627\u0645\u0627 \u0645\u0631\u0648\u0631\u06af\u0631\u0647\u0627\u06cc \u0645\u062f\u0631\u0646 \u0627\u0645\u0631\u0648\u0632\u06cc \u0627\u0632 \u0645\u0642\u062f\u0627\u0631 \u062f\u06cc\u06af\u0631\u06cc \u0628\u0647 \u0646\u0627\u0645 sticky \u0646\u06cc\u0632 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f. \u0648\u06cc\u0698\u06af\u06cc position: sticky \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u06cc\u06a9 \u0639\u0646\u0635\u0631 \u0647\u0646\u06af\u0627\u0645 \u0627\u0633\u06a9\u0631\u0648\u0644 \u0635\u0641\u062d\u0647\u060c \u067e\u0633 \u0627\u0632 \u0631\u0633\u06cc\u062f\u0646 \u0628\u0647 \u06cc\u06a9 \u0645\u0648\u0642\u0639\u06cc\u062a \u0645\u0634\u062e\u0635 \u0628\u0647 \u062d\u0627\u0644\u062a \u0686\u0633\u0628\u0627\u0646 (Sticky) [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":6439,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"categories":[67,190],"tags":[1195,1198,1194,1197,1196],"class_list":["post-6438","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-67","category-programming","tag-css-layout","tag-position-sticky--css","tag--css-","tag--position-sticky","tag----css"],"aioseo_notices":[],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"_links":{"self":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts\/6438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/comments?post=6438"}],"version-history":[{"count":1,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts\/6438\/revisions"}],"predecessor-version":[{"id":6440,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts\/6438\/revisions\/6440"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/media\/6439"}],"wp:attachment":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/media?parent=6438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/categories?post=6438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/tags?post=6438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}