{"id":3230,"date":"2021-10-07T20:00:12","date_gmt":"2021-10-07T16:30:12","guid":{"rendered":"http:\/\/rabsana.ir\/tutorials\/?p=3230"},"modified":"2021-10-08T12:02:08","modified_gmt":"2021-10-08T08:32:08","slug":"compare-flexbox-and-css-grid-in-terms-of-rule-and-content","status":"publish","type":"post","link":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/","title":{"rendered":"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627"},"content":{"rendered":"<p>\u062f\u0631 \u0645\u0642\u0627\u0644\u0647 \u0642\u0628\u0644 \u062f\u0631 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0628\u0647 <a href=\"http:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-use-and-layout\/\">\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0648 \u0637\u0631\u062d \u0628\u0646\u062f\u06cc<\/a> \u067e\u0631\u062f\u0627\u062e\u062a\u06cc\u0645. \u0627\u06a9\u0646\u0648\u0646 \u0645\u0647\u0645 \u0627\u0633\u062a \u0642\u0648\u0627\u0646\u06cc\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0647 \u062e\u0648\u0628\u06cc \u062f\u0631\u06a9 \u06a9\u0646\u06cc\u0645. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0645\u062d\u062a\u0648\u0627\u060c \u0645\u0648\u0627\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>\u0645\u0642\u0627\u06cc\u0633\u0647 Grid \u0648 Flexbox \u0627\u0632 \u0646\u0638\u0631 \u0645\u062d\u062a\u0648\u0627 \u0648 \u0637\u0631\u062d \u0628\u0646\u062f\u06cc<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<p>\u0645\u0634\u062e\u0635\u0627\u062a W3C \u0628\u0631\u0627\u06cc Flexbox \u0648 Grid \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u062f\u0631 \u0634\u0641\u0627\u0641 \u0633\u0627\u0632\u06cc \u0639\u0628\u0627\u0631\u0627\u062a &#8220;\u0627\u0632 \u0645\u062d\u062a\u0648\u0627 \u0628\u0647 \u0628\u06cc\u0631\u0648\u0646&#8221; \u0648 &#8220;\u0627\u0632 \u0686\u06cc\u062f\u0645\u0627\u0646 \u062f\u0631\u0648\u0646&#8221; \u0645\u0641\u06cc\u062f \u0628\u0627\u0634\u062f.<\/p>\n<p>\u062f\u0631 \u0645\u0648\u0631\u062f Flexbox \u060c \u0645\u0634\u062e\u0635\u0627\u062a \u0627\u0634\u0627\u0631\u0647 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc \u062f\u0647\u062f &#8211;<\/p>\n<p>\u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0633\u0627\u062f\u0647 \u0648 \u0642\u062f\u0631\u062a\u0645\u0646\u062f \u0628\u0631\u0627\u06cc \u062a\u0648\u0632\u06cc\u0639 \u0641\u0636\u0627 \u0648 \u062a\u0631\u0627\u0632 \u06a9\u0631\u062f\u0646 \u0645\u062d\u062a\u0648\u0627 \u0628\u0647 \u0637\u0631\u06cc\u0642\u06cc \u06a9\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u0648\u0628 \u0648 \u0635\u0641\u062d\u0627\u062a \u0648\u0628 \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0627\u063a\u0644\u0628 \u0628\u0647 \u0622\u0646 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u0646\u062f.<\/p>\n<p>\u0628\u0647 \u0639\u0628\u0627\u0631\u062a \u062f\u06cc\u06af\u0631 \u060c \u0622\u0646\u0686\u0647 Flexbox \u0628\u0647 \u0645\u0631\u0648\u0631\u06af\u0631 \u0645\u06cc \u06af\u0648\u06cc\u062f \u0627\u06cc\u0646 \u0627\u0633\u062a: \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0645\u062d\u062a\u0648\u0627\u06cc \u0645\u0646 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u060c \u0641\u0642\u0637 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0631\u0627\u0647 \u0631\u0627 \u0628\u0631\u0627\u06cc \u062a\u0648\u0632\u06cc\u0639 \u0627\u0641\u0642\u06cc (\u06cc\u0627 \u0639\u0645\u0648\u062f\u06cc \u060c \u062f\u0631 \u0635\u0648\u0631\u062a \u0644\u0632\u0648\u0645) \u0628\u0647 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0634\u06a9\u0644 \u0645\u0645\u06a9\u0646 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0641\u0636\u0627\u06cc \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0631\u0627\u0626\u0647 \u062f\u0647\u06cc\u062f.<\/p>\n<p>\u062f\u0631 \u0645\u0648\u0631\u062f Grid \u060c \u0645\u0634\u062e\u0635\u0627\u062a Grid \u0622\u0646 \u0631\u0627 \u0631\u0648\u0634\u0646 \u0645\u06cc \u06a9\u0646\u062f<\/p>\n<p>\u0645\u06a9\u0627\u0646\u06cc\u0632\u0645\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u0646\u0648\u06cc\u0633\u0646\u062f\u06af\u0627\u0646 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc \u06a9\u0646\u062f \u062a\u0627 \u0641\u0636\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u0631\u0627 \u0628\u0631\u0627\u06cc \u0637\u0631\u062d \u0628\u0646\u062f\u06cc \u0628\u0647 \u0633\u062a\u0648\u0646 \u0647\u0627 \u0648 \u0633\u0637\u0631\u0647\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u062c\u0645\u0648\u0639\u0647 \u0627\u06cc \u0627\u0632 \u0631\u0641\u062a\u0627\u0631\u0647\u0627\u06cc \u0627\u0646\u062f\u0627\u0632\u0647 \u0642\u0627\u0628\u0644 \u067e\u06cc\u0634 \u0628\u06cc\u0646\u06cc \u062a\u0642\u0633\u06cc\u0645 \u06a9\u0646\u0646\u062f.<\/p>\n<p>\u0633\u067e\u0633 \u0646\u0648\u06cc\u0633\u0646\u062f\u06af\u0627\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0639\u0646\u0627\u0635\u0631 \u0628\u0644\u0648\u06a9 \u0633\u0627\u062e\u062a\u0645\u0627\u0646 \u06a9\u0627\u0631\u0628\u0631\u062f \u062e\u0648\u062f \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u062f\u0642\u06cc\u0642 \u062f\u0631 \u0642\u0633\u0645\u062a \u0647\u0627\u06cc \u0634\u0628\u06a9\u0647 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637 \u062a\u0642\u0627\u0637\u0639 \u0627\u06cc\u0646 \u0633\u062a\u0648\u0646 \u0647\u0627 \u0648 \u0631\u062f\u06cc\u0641 \u0647\u0627 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647 \u0648 \u0627\u0646\u062f\u0627\u0632\u0647 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0645\u0634\u062e\u0635 \u06a9\u0646\u0646\u062f.<\/p>\n<p>\u062f\u0631 \u0645\u0648\u0631\u062f Grid \u060c \u0646\u0642\u0637\u0647 \u0639\u0632\u06cc\u0645\u062a \u0633\u0627\u062e\u062a\u0627\u0631\u06cc \u0627\u0632 \u0633\u062a\u0648\u0646 \u0647\u0627 \u0648 \u0631\u062f\u06cc\u0641 \u0647\u0627 \u0627\u0633\u062a \u06a9\u0647 Grid \u0635\u0631\u06cc\u062d \u06cc\u0627 \u0636\u0645\u0646\u06cc \u0622\u0646\u0647\u0627 \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>\u06a9\u062f \u0628\u0647 \u0645\u0631\u0648\u0631\u06af\u0631 \u0645\u06cc \u06af\u0648\u06cc\u062f: \u0627\u06cc\u0646 \u0628\u0644\u0648\u06a9 \u0647\u0627\u06cc \u0645\u062d\u062a\u0648\u0627\u06cc \u0645\u0646 \u0647\u0633\u062a\u0646\u062f. \u0627\u06a9\u0646\u0648\u0646 \u0622\u0646\u0647\u0627 \u0631\u0627 \u062f\u0642\u06cc\u0642\u0627\u064b \u062f\u0631 \u0633\u0627\u062e\u062a\u0627\u0631 \u0634\u0628\u06a9\u0647 \u062f\u0631 \u0645\u06a9\u0627\u0646\u0647\u0627\u06cc \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<p>\u0647\u0631\u0686\u0642\u062f\u0631 \u06a9\u0647 \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0628\u0631\u0627\u06cc \u0628\u062d\u062b \u06a9\u0646\u0648\u0646\u06cc \u0642\u0627\u0646\u0639 \u06a9\u0646\u0646\u062f\u0647 \u0627\u0633\u062a \u060c \u0645\u0646 \u0641\u06a9\u0631 \u0645\u06cc \u06a9\u0646\u0645 \u06a9\u0647 \u0647\u0646\u0648\u0632 \u0686\u06cc\u0632\u06cc \u0631\u0627 \u06a9\u0646\u0627\u0631 \u0645\u06cc \u06af\u0630\u0627\u0631\u062f. \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u06a9\u062f \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u0638\u0631\u0641 \u0634\u0628\u06a9\u0647 \u062f\u0631 \u0646\u0638\u0631 \u0628\u06af\u06cc\u0631\u06cc\u062f:<\/p>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>grid-template-columns: repeat(auto-fit, minmax(minimum width, 1fr));<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>\u0627\u06cc\u0646 \u0628\u0647 \u0645\u0631\u0648\u0631\u06af\u0631 \u0648 \u0646\u0647 \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u0647 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc \u062f\u0647\u062f \u062a\u0627 \u062a\u0639\u062f\u0627\u062f \u0633\u062a\u0648\u0646 \u0647\u0627 \u0648 \u0633\u0637\u0631\u0647\u0627 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0645\u062d\u062a\u0648\u0627 \u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0641\u0636\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0627\u06cc\u0646\u06a9\u0647 \u0622\u06cc\u0627 \u06cc\u06a9 \u0642\u0637\u0639\u0647 \u062e\u0627\u0635 \u0627\u0632 \u0645\u062d\u062a\u0648\u0627 \u062f\u0631 \u0633\u062a\u0648\u0646 \u06cc\u0627 \u0633\u0637\u0631 \u06cc\u06a9 \u060c \u062f\u0648 \u0648 \u063a\u06cc\u0631\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u062f \u060c \u0628\u0641\u0647\u0645\u062f.<\/p>\n<p>\u06a9\u0645\u06cc \u0634\u0628\u06cc\u0647 Flexbox \u060c \u0627\u0645\u0627 \u0628\u0627 \u062a\u0631\u0627\u0632 \u06a9\u0627\u0645\u0644. (\u0646\u0633\u062e\u0647 \u0646\u0645\u0627\u06cc\u0634\u06cc Grid \u0628\u0627 \u0646\u0645\u0627\u062f\u0647\u0627\u06cc \u0633\u06cc\u0628 \u0631\u0627 \u062f\u0631 \u0642\u0633\u0645\u062a \u0642\u0628\u0644 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f.)<\/p>\n<p>\u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u060c \u0627\u06af\u0631\u0686\u0647 \u0645\u0646 \u0627\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0633\u0648\u0645 \u0631\u0627 \u0628\u0633\u06cc\u0627\u0631 \u062f\u0648\u0633\u062a \u062f\u0627\u0631\u0645 \u060c \u0627\u0645\u0627 \u0647\u0646\u0648\u0632 \u0686\u06cc\u0632\u06cc \u0628\u0647 \u0645\u0646 \u0645\u06cc \u06af\u0648\u06cc\u062f \u06a9\u0647 Grid \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0647\u0627\u06cc \u0628\u06cc\u0634\u062a\u0631\u06cc \u062f\u0627\u0631\u062f.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>\u0642\u0648\u0627\u0646\u06cc\u0646 Flexbox \u0648 Grid<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>Grid \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0627\u06a9\u062b\u0631 \u06a9\u0627\u0631\u0647\u0627\u06cc\u06cc \u0631\u0627 \u06a9\u0647 Flexbox \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f \u0648 \u0645\u0648\u0627\u0631\u062f \u062f\u06cc\u06af\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f \u060c \u0628\u0647 \u0627\u0633\u062a\u062b\u0646\u0627\u06cc \u062a\u0639\u062f\u0627\u062f \u0645\u062d\u062f\u0648\u062f\u06cc \u0627\u0632 \u0645\u0648\u0627\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647.<\/p>\n<p>\u062f\u0631 \u0646\u062a\u06cc\u062c\u0647 \u060c \u0645\u0646 \u062a\u0645\u0627\u06cc\u0644 \u062f\u0627\u0631\u0645 \u0645\u0648\u0636\u0639 \u06a9\u0631\u06cc\u0633 \u06a9\u0648\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0645\u0648\u0636\u0648\u0639 \u062a\u0648\u06cc\u06cc\u062a\u0631 \u062e\u0648\u062f \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u0645 \u060c \u06a9\u0647 \u0645\u0634\u0627\u0628\u0647 \u0631\u0648\u06cc\u06a9\u0631\u062f \u0648\u0633 \u0628\u0648\u0633 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0648\u0631\u062f \u0627\u0633\u062a. \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u067e\u06cc\u0634 \u0645\u06cc \u0631\u0648\u062f:<\/p>\n<p>\u0645\u06af\u0631 \u0627\u06cc\u0646\u06a9\u0647 \u0645\u0646 \u0641\u0642\u0637 \u0628\u0647 \u0686\u0646\u062f \u0645\u0648\u0631\u062f\u06cc \u06a9\u0647 Flexbox \u0628\u0647 \u0622\u0646\u0647\u0627 \u0631\u0633\u06cc\u062f\u06af\u06cc \u0645\u06cc \u06a9\u0646\u062f \u0631\u0633\u06cc\u062f\u06af\u06cc \u06a9\u0646\u0645 \u060c \u0628\u06cc\u0634\u062a\u0631 \u0628\u0631\u0627\u06cc Grid \u0645\u06cc \u0631\u0648\u0645.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>\u0686\u0647 \u0645\u0648\u0642\u0639 \u0628\u0627\u06cc\u062f \u0627\u0632 Flexbox \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u061f<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u0628\u0627\u0644\u0627 \u0627\u0634\u0627\u0631\u0647 \u0634\u062f \u060c \u06cc\u06a9\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0647\u0627\u06cc\u06cc \u06a9\u0647 Flexbox \u0628\u0647 \u0637\u0648\u0631 \u0637\u0628\u06cc\u0639\u06cc \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u062f\u0647\u062f \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0639\u0646\u0627\u0635\u0631 \u0631\u0627 \u062f\u0631 \u062e\u0637\u0648\u0637 \u0645\u062e\u062a\u0644\u0641 \u0628\u067e\u06cc\u0686\u062f \u060c \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0641\u0642\u0637 \u0628\u0647 \u062a\u0648\u0632\u06cc\u0639 \u0627\u0642\u0644\u0627\u0645 \u062e\u0648\u062f \u062f\u0631 \u0641\u0636\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0639\u0631\u0636 \u0645\u062a\u0641\u0627\u0648\u062a \u0622\u0646\u0647\u0627 \u0627\u0647\u0645\u06cc\u062a \u0645\u06cc \u062f\u0647\u0646\u062f\u060c \u0628\u062f\u0648\u0646 \u0647\u06cc\u0686 \u0627\u0631\u062a\u0628\u0627\u0637\u06cc \u0628\u0627 \u062e\u0637\u0648\u0637 \u0628\u0627\u0644\u0627 \u06cc\u0627 \u067e\u0627\u06cc\u06cc\u0646.<\/p>\n<p>\u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u060c \u0627\u06af\u0631 \u062f\u0646\u0628\u0627\u0644 \u0631\u062f\u06cc\u0641 \u0647\u0627 \u0648 \u0633\u062a\u0648\u0646 \u0647\u0627\u06cc \u06a9\u0627\u0645\u0644\u0627\u064b \u062a\u0631\u0627\u0632 \u0634\u062f\u0647 \u0634\u0628\u06cc\u0647 \u0634\u0628\u06a9\u0647 \u0646\u0628\u0627\u0634\u0645 \u060c \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 Flexbox \u0645\u06cc \u0631\u0648\u0645.<\/p>\n<p>&nbsp;<\/p>\n<h5 dir=\"ltr\">HTML :<\/h5>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>&lt;div class=&#8221;tags-container&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;a href=&#8221;#&#8221; class=&#8221;tag-link&#8221;&gt;abyssinian cat&lt;\/a&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;a href=&#8221;#&#8221; class=&#8221;tag-link&#8221;&gt;bengal cat&lt;\/a&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;a href=&#8221;#&#8221; class=&#8221;tag-link&#8221;&gt;persian cat&lt;\/a&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;a href=&#8221;#&#8221; class=&#8221;tag-link&#8221;&gt;american bobtail&lt;\/a&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;a href=&#8221;#&#8221; class=&#8221;tag-link&#8221;&gt;american curl&lt;\/a&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;a href=&#8221;#&#8221; class=&#8221;tag-link&#8221;&gt;balinese&lt;\/a&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;a href=&#8221;#&#8221; class=&#8221;tag-link&#8221;&gt;bombay&lt;\/a&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;a href=&#8221;#&#8221; class=&#8221;tag-link&#8221;&gt;british shorthair&lt;\/a&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;a href=&#8221;#&#8221; class=&#8221;tag-link&#8221;&gt;burmilla&lt;\/a&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;a href=&#8221;#&#8221; class=&#8221;tag-link&#8221;&gt;calico&lt;\/a&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/div&gt;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h5 dir=\"ltr\">CSS :<\/h5>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>* {<\/strong><\/p>\n<p dir=\"ltr\"><strong>box-sizing: border-box;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>body {<\/strong><\/p>\n<p dir=\"ltr\">margin<strong>: 0;<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: 0;<\/strong><\/p>\n<p dir=\"ltr\"><strong>height: 100vh;<\/strong><\/p>\n<p dir=\"ltr\"><strong>font-size: 1.5rem;<\/strong><\/p>\n<p dir=\"ltr\"><strong>display: flex;<\/strong><\/p>\n<p dir=\"ltr\"><strong>align-items: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>a {<\/strong><\/p>\n<p dir=\"ltr\"><strong>text-decoration: none;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.tags-container {<\/strong><\/p>\n<p dir=\"ltr\"><strong>max-width: 800px;<\/strong><\/p>\n<p dir=\"ltr\"><strong>margin: 2rem auto;<\/strong><\/p>\n<p dir=\"ltr\"><strong>display: flex;<\/strong><\/p>\n<p dir=\"ltr\"><strong>gap: 10px;<\/strong><\/p>\n<p dir=\"ltr\"><strong>justify-content: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>align-items: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>flex-wrap: wrap;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.tag-link {<\/strong><\/p>\n<p dir=\"ltr\"><strong>background-color: #ddd;<\/strong><\/p>\n<p dir=\"ltr\"><strong>border-radius: 10px;<\/strong><\/p>\n<p dir=\"ltr\"><strong>text-align: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: 1rem;<\/strong><\/p>\n<p dir=\"ltr\"><strong>color: #333;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.tag-link:hover,<\/strong><\/p>\n<p dir=\"ltr\"><strong>.tag-link:focus {<\/strong><\/p>\n<p dir=\"ltr\"><strong>color: #111;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h5>\u062e\u0631\u0648\u062c\u06cc :<\/h5>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" width=\"777\" height=\"240\" class=\"wp-image-3233\" src=\"http:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-20.png\" srcset=\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-20.png 777w, https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-20-300x93.png 300w, https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-20-768x237.png 768w\" sizes=\"(max-width: 777px) 100vw, 777px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u06cc\u06a9\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0632 \u0645\u0648\u0627\u0631\u062f\u06cc \u06a9\u0647 \u0645\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Flexbox \u0631\u0627 \u062f\u0631 Grid \u062f\u0631 \u0646\u0638\u0631 \u0645\u06cc \u06af\u06cc\u0631\u0645 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u06cc\u06a9 \u0637\u0631\u062d \u0633\u0627\u062f\u0647 \u0648 \u06cc\u06a9 \u0628\u0639\u062f\u06cc \u0627\u0632 \u0639\u0646\u0627\u0635\u0631\u06cc \u0647\u0633\u062a\u0645 \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0622\u0646\u0647\u0627 \u0631\u0627 \u062f\u0648\u0631 \u0628\u0632\u0646\u0645 \u0648 \u06cc\u0627 \u0622\u0646\u0647\u0627 \u0631\u0627 \u062a\u062d\u0631\u06cc\u06a9 \u06a9\u0646\u0645.<\/p>\n<p>Flexbox \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0639\u0646\u0627\u0635\u0631 \u0631\u0627 \u0641\u0642\u0637 \u0628\u0627 \u06cc\u06a9 \u0642\u0627\u0646\u0648\u0646 \u062f\u0631 \u0638\u0631\u0641 flex \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>flex-direction: row-reverse\/column-reverse<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>\u0634\u0645\u0627 \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0627 Grid \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f \u060c \u0645\u06af\u0631 \u0627\u06cc\u0646\u06a9\u0647 \u0648\u06cc\u0698\u06af\u06ccorder \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u062f\u0633\u062a\u06cc \u0628\u0631\u0627\u06cc \u0647\u0631 \u0639\u0646\u0635\u0631 \u0641\u0631\u0632\u0646\u062f \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f \u060c \u06a9\u0647 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u062e\u0633\u062a\u0647 \u06a9\u0646\u0646\u062f\u0647 \u0628\u0627\u0634\u062f.<\/p>\n<p>\u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644 \u060c \u0627\u0632 \u067e\u06cc\u0627\u0645\u062f\u0647\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u060c \u0686\u0647 \u062f\u0631 Flexbox \u0648 \u0686\u0647 \u062f\u0631 Grid \u060c \u0622\u06af\u0627\u0647 \u0628\u0627\u0634\u06cc\u062f<\/p>\n<p>\u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0627\u06cc\u0646 \u060c Flexbox \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u0627\u0646\u062f\u0627\u0632\u0647 \u0639\u0646\u0627\u0635\u0631 \u0641\u0631\u0632\u0646\u062f \u062e\u0648\u062f \u0631\u0627 \u0628\u062f\u0648\u0646 \u0632\u062d\u0645\u062a \u0645\u062a\u062d\u0631\u06a9 \u06a9\u0646\u06cc\u062f \u060c \u0627\u06cc\u0646 \u0686\u06cc\u0632\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 Grid \u0628\u0647 \u0645\u0631\u0648\u0631\u06af\u0631 \u0645\u062a\u0642\u0627\u0628\u0644 \u062f\u0633\u062a \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0646\u0645\u0627\u06cc\u0634\u06cc \u0627\u0632 \u0646\u062d\u0648\u0647 \u0639\u0645\u0644\u06a9\u0631\u062f Flexbox \u0647\u0631 \u062f\u0648 \u0645\u0648\u0631\u062f \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a.<\/p>\n<p>&nbsp;<\/p>\n<h5 dir=\"ltr\">HTML :<\/h5>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>&lt;div class=&#8221;container&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;button class=&#8221;reverse-btn&#8221;&gt;Reverse the order&lt;\/button&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;div class=&#8221;scroller&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figure class=&#8221;scroller-info&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;img class=&#8221;scroller-pic&#8221; src=&#8217;https:\/\/images.unsplash.com\/photo-1594616838951-c155f8d978a0?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYyNzc2OTk0MQ&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=400&#8242; alt=&#8217;client&#8217;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figcaption class=&#8221;scroller-caption&#8221;&gt;Jack &lt;br&gt; Click Me!&lt;\/figcaption&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/figure&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figure class=&#8221;scroller-info&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;img class=&#8221;scroller-pic&#8221; src=&#8217;https:\/\/images.unsplash.com\/photo-1500648767791-00dcc994a43e?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYyNzgyNzYwNA&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=400&#8242; alt=&#8217;client&#8217;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figcaption class=&#8221;scroller-caption&#8221;&gt;John &lt;br&gt; Click Me!&lt;\/figcaption&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/figure&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figure class=&#8221;scroller-info&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;img class=&#8221;scroller-pic&#8221; src=&#8217;https:\/\/images.unsplash.com\/photo-1558898479-33c0057a5d12?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYyNzc2OTk0MQ&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=400&#8242; alt=&#8217;client&#8217;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figcaption class=&#8221;scroller-caption&#8221;&gt;Maria &lt;br&gt; Click Me!&lt;\/figcaption&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/figure&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figure class=&#8221;scroller-info&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;img class=&#8221;scroller-pic&#8221; src=&#8217;https:\/\/images.unsplash.com\/photo-1489424731084-a5d8b219a5bb?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYyNzgyNjQ3Nw&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=400&#8242; alt=&#8217;client&#8217;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figcaption class=&#8221;scroller-caption&#8221;&gt;Jane &lt;br&gt; Click Me!&lt;\/figcaption&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/figure&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figure class=&#8221;scroller-info&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;img class=&#8221;scroller-pic&#8221; src=&#8217;https:\/\/images.unsplash.com\/photo-1586297135537-94bc9ba060aa?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYyNzc3MDY4NA&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=400&#8242; alt=&#8217;client&#8217;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figcaption class=&#8221;scroller-caption&#8221;&gt;Mary &lt;br&gt; Click Me!&lt;\/figcaption&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/figure&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figure class=&#8221;scroller-info&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;img class=&#8221;scroller-pic&#8221; src=&#8217;https:\/\/images.unsplash.com\/photo-1474176857210-7287d38d27c6?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYyNzgyNjU2NA&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=400&#8242; alt=&#8217;client&#8217;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figcaption class=&#8221;scroller-caption&#8221;&gt;George &lt;br&gt; Click Me!&lt;\/figcaption&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/figure&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figure class=&#8221;scroller-info&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;img class=&#8221;scroller-pic&#8221; src=&#8217;https:\/\/images.unsplash.com\/photo-1614436163996-25cee5f54290?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHx8MTYyNzgyNzY4MQ&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=400&#8242; alt=&#8217;client&#8217;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;figcaption class=&#8221;scroller-caption&#8221;&gt;Anne &lt;br&gt; Click Me!&lt;\/figcaption&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/figure&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/div&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/div&gt;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h5 dir=\"ltr\">CSS :<\/h5>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>* {<\/strong><\/p>\n<p dir=\"ltr\"><strong>box-sizing: border-box;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>body {<\/strong><\/p>\n<p dir=\"ltr\"><strong>margin: 0;<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: 0;<\/strong><\/p>\n<p dir=\"ltr\"><strong>height: 100vh;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.container {<\/strong><\/p>\n<p dir=\"ltr\"><strong>max-width: 600px;<\/strong><\/p>\n<p dir=\"ltr\"><strong>margin: 4rem auto;<\/strong><\/p>\n<p dir=\"ltr\"><strong>overflow-x: scroll;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.reverse-btn {<\/strong><\/p>\n<p dir=\"ltr\"><strong>background-color: white;<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: 0.5rem 1rem;<\/strong><\/p>\n<p dir=\"ltr\"><strong>font-weight: bold;<\/strong><\/p>\n<p dir=\"ltr\"><strong>font-size: 1.2rem;<\/strong><\/p>\n<p dir=\"ltr\"><strong>text-transform: uppercase;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.reverse-btn:hover,<\/strong><\/p>\n<p dir=\"ltr\"><strong>.reverse-btn:focus {<\/strong><\/p>\n<p dir=\"ltr\"><strong>border-color: black;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.scroller {<\/strong><\/p>\n<p dir=\"ltr\"><strong>background-color: #111;<\/strong><\/p>\n<p dir=\"ltr\"><strong>width: 1000px;<\/strong><\/p>\n<p dir=\"ltr\"><strong>margin: 4rem auto;<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: 1rem;<\/strong><\/p>\n<p dir=\"ltr\"><strong>display: flex;<\/strong><\/p>\n<p dir=\"ltr\"><strong>gap: 5px;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.scroller.reversed {<\/strong><\/p>\n<p dir=\"ltr\"><strong>flex-direction: row-reverse;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.scroller-info {<\/strong><\/p>\n<p dir=\"ltr\"><strong>background-color: rgba(255,255,255,0.2);<\/strong><\/p>\n<p dir=\"ltr\"><strong>flex: 1;<\/strong><\/p>\n<p dir=\"ltr\"><strong>align-self: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: 1rem;<\/strong><\/p>\n<p dir=\"ltr\"><strong>margin: 0;<\/strong><\/p>\n<p dir=\"ltr\"><strong>border-right: 2px dotted black;<\/strong><\/p>\n<p dir=\"ltr\"><strong>border-left: 2px dotted black;<\/strong><\/p>\n<p dir=\"ltr\"><strong>\/* animate the flex-grow property *\/<\/strong><\/p>\n<p dir=\"ltr\"><strong>transition: flex-grow 0.5s;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.scroller-info.expanded {<\/strong><\/p>\n<p dir=\"ltr\"><strong>flex-grow: 3;<\/strong><\/p>\n<p dir=\"ltr\"><strong>transition: flex-grow 0.5s;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.scroller-pic {<\/strong><\/p>\n<p dir=\"ltr\"><strong>max-width: 100%;<\/strong><\/p>\n<p dir=\"ltr\"><strong>border: 2px solid white;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.scroller-caption {<\/strong><\/p>\n<p dir=\"ltr\"><strong>font-size: 0.9rem;<\/strong><\/p>\n<p dir=\"ltr\"><strong>font-weight: bold;<\/strong><\/p>\n<p dir=\"ltr\"><strong>text-align: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>color: white;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>JS :<\/strong><\/p>\n<p dir=\"ltr\"><strong>const scroller = document.querySelector(&#8216;.scroller&#8217;)<\/strong><\/p>\n<p dir=\"ltr\"><strong>const btn = document.querySelector(&#8216;.reverse-btn&#8217;)<\/strong><\/p>\n<p dir=\"ltr\"><strong>const picsContainer = document.querySelectorAll(&#8216;.scroller-info&#8217;)<\/strong><\/p>\n<p dir=\"ltr\"><strong>function toggleReverse() {<\/strong><\/p>\n<p dir=\"ltr\"><strong>scroller.classList.toggle(&#8216;reversed&#8217;)<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>function toggleSize() {<\/strong><\/p>\n<p dir=\"ltr\"><strong>picsContainer.forEach(item =&gt; {<\/strong><\/p>\n<p dir=\"ltr\"><strong>if(item.classList.contains(&#8216;expanded&#8217;)) {<\/strong><\/p>\n<p dir=\"ltr\"><strong>item.classList.remove(&#8216;expanded&#8217;)<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>})<\/strong><\/p>\n<p dir=\"ltr\"><strong>this.classList.add(&#8216;expanded&#8217;)<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>btn.addEventListener(&#8216;click&#8217;, toggleReverse)<\/strong><\/p>\n<p dir=\"ltr\"><strong>picsContainer.forEach(item =&gt; {<\/strong><\/p>\n<p dir=\"ltr\"><strong>item.addEventListener(&#8216;click&#8217;, toggleSize)<\/strong><\/p>\n<p dir=\"ltr\"><strong>})<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h5>\u062e\u0631\u0648\u062c\u06cc :<\/h5>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" width=\"324\" height=\"274\" class=\"wp-image-3234 aligncenter\" src=\"http:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-21.png\" srcset=\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-21.png 324w, https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-21-300x254.png 300w\" sizes=\"(max-width: 324px) 100vw, 324px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>\u0686\u0647 \u0645\u0648\u0642\u0639 \u0628\u0627\u06cc\u062f \u0627\u0632 Grid \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u061f<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0633\u0627\u06cc\u0631 \u0645\u0648\u0627\u0631\u062f \u060c \u0645\u0646 \u0628\u0627 \u06af\u0631\u06cc\u062f \u0645\u06cc \u0631\u0648\u0645. \u0628\u062f\u06cc\u0647\u06cc \u0627\u0633\u062a \u060c \u0645\u0646 \u0628\u0627 \u062a\u0645\u0627\u0645 \u0637\u0631\u062d \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u0648\u0628 \u0627\u0645\u06a9\u0627\u0646 \u067e\u0630\u06cc\u0631 \u0627\u0633\u062a \u0628\u0631\u062e\u0648\u0631\u062f \u0646\u06a9\u0631\u062f\u0647 \u0627\u0645 \u060c \u0627\u0645\u0627 \u062f\u0631 \u0628\u06cc\u0634\u062a\u0631 \u0645\u0648\u0627\u0631\u062f \u060c \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u0645 \u0686\u06cc\u0632\u06cc \u0642\u062f\u0631\u062a\u0645\u0646\u062f\u062a\u0631 \u0627\u0632 Grid \u0631\u0627 \u0628\u0628\u06cc\u0646\u0645.<\/p>\n<p>\u0645\u0634\u0627\u063a\u0644\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 Grid \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u062e\u0648\u0628\u06cc Flexbox \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f. \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0686\u0646\u062f \u0645\u062b\u0627\u0644 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f.<\/p>\n<p>\u0639\u0646\u0627\u0635\u0631 \u0645\u0631\u06a9\u0632 \u062f\u0647\u06cc \u060c \u06a9\u0647 \u0627\u0632 \u0627\u0628\u062a\u062f\u0627 \u0628\u0631\u0627\u06cc Flexbox \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631\u0647\u0627 \u0627\u062c\u0631\u0627 \u0634\u062f\u0647 \u0627\u0633\u062a \u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u0633\u0631\u0639\u062a \u0628\u0627 Grid \u0627\u0646\u062c\u0627\u0645 \u0634\u0648\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0647\u0645\u0627\u0646 \u0637\u0631\u0627\u062d\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0642\u0633\u0645\u062a \u0628\u0627\u0644\u0627 \u062f\u0631 Flexbox \u0638\u0627\u0647\u0631 \u0645\u06cc \u0634\u0648\u062f \u060c \u0627\u0645\u0627 \u0627\u06cc\u0646 \u0628\u0627\u0631 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 CSS Grid \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n<p>&nbsp;<\/p>\n<h5 dir=\"ltr\">HTML :<\/h5>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>&lt;div class=&#8221;hero&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;svg class=&#8221;hero-icon&#8221; style=&#8221;fill:white;&#8221; viewBox=&#8221;0 0 512 512&#8243; width=&#8221;100&#8243; title=&#8221;cat&#8221;&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;path d=&#8221;M290.59 192c-20.18 0-106.82 1.98-162.59 85.95V192c0-52.94-43.06-96-96-96-17.67 0-32 14.33-32 32s14.33 32 32 32c17.64 0 32 14.36 32 32v256c0 35.3 28.7 64 64 64h176c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-32l128-96v144c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V289.86c-10.29 2.67-20.89 4.54-32 4.54-61.81 0-113.52-44.05-125.41-102.4zM448 96h-64l-64-64v134.4c0 53.02 42.98 96 96 96s96-42.98 96-96V32l-64 64zm-72 80c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm80 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z&#8221; \/&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/svg&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;p class=&#8221;hero-content&#8221;&gt;Lorem ipsum dolor sit amet consectetur adipisicing elit. Placeat nulla itaque consequuntur totam dignissimos? Vero laudantium facere tempore, ipsam dolore ex explicabo alias inventore, aliquid temporibus sunt perspiciatis praesentium accusantium.&lt;\/p&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;button class=&#8221;signup-btn&#8221;&gt;Sign Up&lt;\/button&gt;<\/strong><\/p>\n<p dir=\"ltr\"><strong>&lt;\/div&gt;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h5 dir=\"ltr\">CSS :<\/h5>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>\/* general styles *\/<\/strong><\/p>\n<p dir=\"ltr\"><strong>* {<\/strong><\/p>\n<p dir=\"ltr\"><strong>box-sizing: border-box;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>body {<\/strong><\/p>\n<p dir=\"ltr\"><strong>margin: 0;<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: 0;<\/strong><\/p>\n<p dir=\"ltr\"><strong>height: 100vh;<\/strong><\/p>\n<p dir=\"ltr\"><strong>width: 100%;<\/strong><\/p>\n<p dir=\"ltr\"><strong>display: grid;<\/strong><\/p>\n<p dir=\"ltr\"><strong>\/* horizontal centering *\/<\/strong><\/p>\n<p dir=\"ltr\"><strong>justify-items: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>\/* vertical centering *\/<\/strong><\/p>\n<p dir=\"ltr\"><strong>align-items: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>p {<\/strong><\/p>\n<p dir=\"ltr\"><strong>margin: 0 0 1rem 0;<\/strong><\/p>\n<p dir=\"ltr\"><strong>line-height: 1.5;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>\/* components styles *\/<\/strong><\/p>\n<p dir=\"ltr\"><strong>.hero {<\/strong><\/p>\n<p dir=\"ltr\"><strong>max-width: 80ch;<\/strong><\/p>\n<p dir=\"ltr\"><strong>background-color: rebeccapurple;<\/strong><\/p>\n<p dir=\"ltr\"><strong>color: white;<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: 1rem;<\/strong><\/p>\n<p dir=\"ltr\"><strong>border-radius: 10px;<\/strong><\/p>\n<p dir=\"ltr\"><strong>text-align: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>\/* CSS Grid *\/<\/strong><\/p>\n<p dir=\"ltr\"><strong>display: grid;<\/strong><\/p>\n<p dir=\"ltr\"><strong>\/* centers vertically *\/<\/strong><\/p>\n<p dir=\"ltr\"><strong>align-items: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>\/* centers horizontally *\/<\/strong><\/p>\n<p dir=\"ltr\"><strong>justify-items: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.hero-icon {<\/strong><\/p>\n<p dir=\"ltr\"><strong>margin-bottom: 1rem;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.hero-content {<\/strong><\/p>\n<p dir=\"ltr\"><strong>max-width: 60ch;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>.signup-btn {<\/strong><\/p>\n<p dir=\"ltr\"><strong>margin-bottom: 1rem;<\/strong><\/p>\n<p dir=\"ltr\"><strong>border: 2px solid yellow;<\/strong><\/p>\n<p dir=\"ltr\"><strong>border-radius: 5px;<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: 0.5rem 1rem;<\/strong><\/p>\n<p dir=\"ltr\"><strong>text-align: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>text-transform: uppercase;<\/strong><\/p>\n<p dir=\"ltr\"><strong>background-color: transparent;<\/strong><\/p>\n<p dir=\"ltr\"><strong>color: white;<\/strong><\/p>\n<p dir=\"ltr\"><strong>font-weight: bold;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h5>\u062e\u0631\u0648\u062c\u06cc :<\/h5>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" width=\"655\" height=\"355\" class=\"wp-image-3235 aligncenter\" src=\"http:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-22.png\" srcset=\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-22.png 655w, https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-22-300x163.png 300w\" sizes=\"(max-width: 655px) 100vw, 655px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u062c\u0627\u062f\u0648 \u0647\u0645\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0633\u0647 \u062e\u0637 \u0627\u0633\u062a:<\/p>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>.hero {<\/strong><\/p>\n<p dir=\"ltr\"><strong>display: grid;<\/strong><\/p>\n<p dir=\"ltr\"><strong>\/* centers vertically *\/<\/strong><\/p>\n<p dir=\"ltr\"><strong>align-items: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>\/* centers horizontally *\/<\/strong><\/p>\n<p dir=\"ltr\"><strong>justify-items: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>\u0645\u0648\u0631\u062f \u062f\u06cc\u06af\u0631\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc Flexbox \u0645\u0646\u0627\u0633\u0628 \u0627\u0633\u062a \u0627\u0645\u0627 \u062f\u0631 Grid \u0646\u06cc\u0632 \u0642\u0627\u0628\u0644 \u0627\u0646\u062c\u0627\u0645 \u0627\u0633\u062a \u060c \u062a\u0631\u0627\u0632 \u06a9\u0631\u062f\u0646 \u0639\u0646\u0627\u0635\u0631 \u06a9\u0648\u0686\u06a9 \u0627\u0633\u062a. \u0631\u0627\u0634\u0644 \u0627\u0646\u062f\u0631\u0648 \u062f\u0631 &#8220;\u0646\u062d\u0648\u0647 \u062a\u0631\u0627\u0632 \u06a9\u0631\u062f\u0646 \u0686\u06cc\u0632\u0647\u0627 \u062f\u0631 CSS&#8221; \u0627\u0634\u0627\u0631\u0647 \u0645\u06cc \u06a9\u0646\u062f<\/p>\n<p>\u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0648\u0627\u0631\u062f\u06cc \u06a9\u0647 \u0645\u0646 \u0641\u06a9\u0631 \u0645\u06cc \u06a9\u0646\u0645 \u0627\u063a\u0644\u0628 \u0646\u0627\u062f\u06cc\u062f\u0647 \u06af\u0631\u0641\u062a\u0647 \u0645\u06cc \u0634\u0648\u062f \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 Flexbox \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u06a9\u0627\u0631\u0647\u0627\u06cc \u0686\u06cc\u062f\u0645\u0627\u0646 \u0628\u0633\u06cc\u0627\u0631 \u0645\u0641\u06cc\u062f \u0627\u0633\u062a \u060c \u0632\u06cc\u0631\u0627 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0641\u06a9\u0631 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0631\u0627\u0632 \u0639\u0645\u0648\u062f\u06cc \u0631\u0627\u0647\u06cc \u0627\u0633\u062a<\/p>\n<p>\u0645\u0646 \u0627\u063a\u0644\u0628 \u0627\u0632 Flexbox \u0628\u0631\u0627\u06cc \u0647\u0645\u0627\u0647\u0646\u06af\u06cc \u0645\u0646\u0638\u0645 \u0627\u0644\u06af\u0648\u0647\u0627\u06cc \u06a9\u0648\u0686\u06a9 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0645. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644 \u060c \u062a\u0631\u0627\u0632 \u06a9\u0631\u062f\u0646 \u0646\u0645\u0627\u062f\u06cc \u062f\u0631 \u06a9\u0646\u0627\u0631 \u0645\u062a\u0646\u2026<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u062f\u0645\u0648\u06cc \u0631\u0627\u0634\u0644 \u0627\u0633\u062a \u06a9\u0647 \u0646\u06a9\u062a\u0647 \u0627\u0648 \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f:<\/p>\n<p>&nbsp;<\/p>\n<h5 dir=\"ltr\">HTML :<\/h5>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\">&lt;p&gt;You can use Flexbox for tiny alignment jobs. &lt;span&gt;Such as aligning this text and icon &lt;img src=&#8221;https:\/\/s3-us-west-2.amazonaws.com\/s.cdpn.io\/12005\/star.png&#8221; alt=&#8221;star&#8221;&gt;&lt;\/span&gt; using an inline flex container.&lt;\/p&gt;<\/p>\n<p>&nbsp;<\/p>\n<h5 dir=\"ltr\">CSS :<\/h5>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>body {<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: 20px;<\/strong><\/p>\n<p dir=\"ltr\"><strong>font: 1em Helvetica Neue, Helvetica, Arial, sans-serif;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>span {<\/strong><\/p>\n<p dir=\"ltr\"><strong>border: 1px solid #ccc;<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: .2em;<\/strong><\/p>\n<p dir=\"ltr\"><strong>border-radius: .2em;<\/strong><\/p>\n<p dir=\"ltr\"><strong>display: inline-flex;<\/strong><\/p>\n<p dir=\"ltr\"><strong>font-weight: bold;<\/strong><\/p>\n<p dir=\"ltr\"><strong>align-items: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h5>\u062e\u0631\u0648\u062c\u06cc :<\/h5>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" width=\"749\" height=\"155\" class=\"wp-image-3236 aligncenter\" src=\"http:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-23.png\" srcset=\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-23.png 749w, https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-23-300x62.png 300w\" sizes=\"(max-width: 749px) 100vw, 749px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u0648 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0686\u0646\u06af\u0627\u0644 \u0645\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0647\u0645\u0627\u0646 \u0637\u0631\u062d \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Grid \u062a\u06a9\u0631\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f:<\/p>\n<p>&nbsp;<\/p>\n<h3 dir=\"ltr\">HTML :<\/h3>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>&lt;p&gt;You can use Grid also for tiny alignment jobs. &lt;span&gt;Such as aligning this text and icon &lt;img src=&#8221;https:\/\/s3-us-west-2.amazonaws.com\/s.cdpn.io\/12005\/star.png&#8221; alt=&#8221;star&#8221;&gt; &lt;img src=&#8221;https:\/\/s3-us-west-2.amazonaws.com\/s.cdpn.io\/12005\/star.png&#8221; alt=&#8221;star&#8221;&gt;&lt;\/span&gt; using an inline Grid container.&lt;\/p&gt;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3 dir=\"ltr\">CSS :<\/h3>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>body {<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: 20px;<\/strong><\/p>\n<p dir=\"ltr\"><strong>font: 1em Helvetica Neue, Helvetica, Arial, sans-serif;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p dir=\"ltr\"><strong>span {<\/strong><\/p>\n<p dir=\"ltr\"><strong>border: 1px solid #ccc;<\/strong><\/p>\n<p dir=\"ltr\"><strong>padding: .2em;<\/strong><\/p>\n<p dir=\"ltr\"><strong>border-radius: .2em;<\/strong><\/p>\n<p dir=\"ltr\"><strong>font-weight: bold;<\/strong><\/p>\n<p dir=\"ltr\"><strong>display: inline-grid;<\/strong><\/p>\n<p dir=\"ltr\"><strong>align-items: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>grid-auto-flow: column;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" width=\"781\" height=\"144\" class=\"wp-image-3237\" src=\"http:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-24.png\" srcset=\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-24.png 781w, https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-24-300x55.png 300w, https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/word-image-24-768x142.png 768w\" sizes=\"(max-width: 781px) 100vw, 781px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u0628\u0647 \u062c\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 inline-flex \u060c \u0645\u0627\u0646\u0646\u062f \u0631\u0627\u0634\u0644 \u062f\u0631 \u062f\u0645\u0648\u06cc \u062e\u0648\u062f \u060c \u0645\u0646 \u0627\u0632 inline-grid \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0645:<\/p>\n<p>&nbsp;<\/p>\n<p dir=\"ltr\"><strong>span {<\/strong><\/p>\n<p dir=\"ltr\"><strong>display: inline-grid;<\/strong><\/p>\n<p dir=\"ltr\"><strong>align-items: center;<\/strong><\/p>\n<p dir=\"ltr\"><strong>grid-auto-flow: column;<\/strong><\/p>\n<p dir=\"ltr\"><strong>}<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>\u062d\u062a\u06cc \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u06cc\u06a9\u0648\u0646 \u0647\u0627\u06cc \u0628\u06cc\u0634\u062a\u0631\u06cc \u0631\u0627 \u0628\u0639\u062f \u0627\u0632 \u0646\u0648\u0634\u062a\u0627\u0631 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0647\u0645\u0686\u0646\u0627\u0646 \u062e\u0637 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f \u060c \u062f\u0631\u0633\u062a \u0645\u0627\u0646\u0646\u062f Flexbox.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u0645\u0642\u0627\u0644\u0647 \u0642\u0628\u0644 \u062f\u0631 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0628\u0647 \u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0648 \u0637\u0631\u062d \u0628\u0646\u062f\u06cc \u067e\u0631\u062f\u0627\u062e\u062a\u06cc\u0645. \u0627\u06a9\u0646\u0648\u0646 \u0645\u0647\u0645 \u0627\u0633\u062a \u0642\u0648\u0627\u0646\u06cc\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0647 \u062e\u0648\u0628\u06cc \u062f\u0631\u06a9 \u06a9\u0646\u06cc\u0645. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0645\u062d\u062a\u0648\u0627\u060c \u0645\u0648\u0627\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. &nbsp; \u0645\u0642\u0627\u06cc\u0633\u0647 Grid \u0648 Flexbox \u0627\u0632 \u0646\u0638\u0631 &hellip;<\/p>\n","protected":false},"author":4,"featured_media":3238,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[73],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v18.4 (Yoast SEO v18.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627 | \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627<\/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:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627\" \/>\n<meta property=\"og:description\" content=\"\u062f\u0631 \u0645\u0642\u0627\u0644\u0647 \u0642\u0628\u0644 \u062f\u0631 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0628\u0647 \u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0648 \u0637\u0631\u062d \u0628\u0646\u062f\u06cc \u067e\u0631\u062f\u0627\u062e\u062a\u06cc\u0645. \u0627\u06a9\u0646\u0648\u0646 \u0645\u0647\u0645 \u0627\u0633\u062a \u0642\u0648\u0627\u0646\u06cc\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0647 \u062e\u0648\u0628\u06cc \u062f\u0631\u06a9 \u06a9\u0646\u06cc\u0645. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0645\u062d\u062a\u0648\u0627\u060c \u0645\u0648\u0627\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. &nbsp; \u0645\u0642\u0627\u06cc\u0633\u0647 Grid \u0648 Flexbox \u0627\u0632 \u0646\u0638\u0631 &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-07T16:30:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-08T08:32:08+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/Compare-flexbox-and-CSS-Grid-1.webp\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b\",\"name\":\"bagher rezvan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g\",\"caption\":\"bagher rezvan\"},\"logo\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#personlogo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#website\",\"url\":\"https:\/\/rabsana.ir\/tutorials\/\",\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627\",\"description\":\"\u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u062a\u062e\u0635\u0635\u06cc \u0634\u0631\u06a9\u062a \u0637\u0631\u0627\u062d\u06cc \u0633\u0627\u06cc\u062a \u0631\u0627\u0628\u0633\u0627\u0646\u0627\",\"publisher\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/rabsana.ir\/tutorials\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/Compare-flexbox-and-CSS-Grid-1.webp\",\"contentUrl\":\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/Compare-flexbox-and-CSS-Grid-1.webp\",\"width\":1200,\"height\":360,\"caption\":\"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#webpage\",\"url\":\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/\",\"name\":\"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627 | \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627\",\"isPartOf\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#primaryimage\"},\"datePublished\":\"2021-10-07T16:30:12+00:00\",\"dateModified\":\"2021-10-08T08:32:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\/\/rabsana.ir\/tutorials\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#webpage\"},\"author\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/f95a0ac81e3ccf2f7b115822a7a815cd\"},\"headline\":\"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627\",\"datePublished\":\"2021-10-07T16:30:12+00:00\",\"dateModified\":\"2021-10-08T08:32:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#webpage\"},\"wordCount\":1365,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b\"},\"image\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/Compare-flexbox-and-CSS-Grid-1.webp\",\"articleSection\":[\"\u0622\u062e\u0631\u06cc\u0646 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u0647\u0627\u06cc \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/f95a0ac81e3ccf2f7b115822a7a815cd\",\"name\":\"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0910931d9fb93b2b6b0627aa03c9f1c6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0910931d9fb93b2b6b0627aa03c9f1c6?s=96&d=mm&r=g\",\"caption\":\"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc\"},\"url\":\"https:\/\/rabsana.ir\/tutorials\/author\/mahsa-mhmdi\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627 | \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","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:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/","og_locale":"fa_IR","og_type":"article","og_title":"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627","og_description":"\u062f\u0631 \u0645\u0642\u0627\u0644\u0647 \u0642\u0628\u0644 \u062f\u0631 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0628\u0647 \u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0648 \u0637\u0631\u062d \u0628\u0646\u062f\u06cc \u067e\u0631\u062f\u0627\u062e\u062a\u06cc\u0645. \u0627\u06a9\u0646\u0648\u0646 \u0645\u0647\u0645 \u0627\u0633\u062a \u0642\u0648\u0627\u0646\u06cc\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0647 \u062e\u0648\u0628\u06cc \u062f\u0631\u06a9 \u06a9\u0646\u06cc\u0645. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0645\u062d\u062a\u0648\u0627\u060c \u0645\u0648\u0627\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. &nbsp; \u0645\u0642\u0627\u06cc\u0633\u0647 Grid \u0648 Flexbox \u0627\u0632 \u0646\u0638\u0631 &hellip;","og_url":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/","og_site_name":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","article_published_time":"2021-10-07T16:30:12+00:00","article_modified_time":"2021-10-08T08:32:08+00:00","twitter_card":"summary_large_image","twitter_image":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/Compare-flexbox-and-CSS-Grid-1.webp","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"9 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b","name":"bagher rezvan","image":{"@type":"ImageObject","@id":"https:\/\/rabsana.ir\/tutorials\/#personlogo","inLanguage":"fa-IR","url":"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g","caption":"bagher rezvan"},"logo":{"@id":"https:\/\/rabsana.ir\/tutorials\/#personlogo"}},{"@type":"WebSite","@id":"https:\/\/rabsana.ir\/tutorials\/#website","url":"https:\/\/rabsana.ir\/tutorials\/","name":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","description":"\u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u062a\u062e\u0635\u0635\u06cc \u0634\u0631\u06a9\u062a \u0637\u0631\u0627\u062d\u06cc \u0633\u0627\u06cc\u062a \u0631\u0627\u0628\u0633\u0627\u0646\u0627","publisher":{"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rabsana.ir\/tutorials\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fa-IR"},{"@type":"ImageObject","@id":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#primaryimage","inLanguage":"fa-IR","url":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/Compare-flexbox-and-CSS-Grid-1.webp","contentUrl":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/Compare-flexbox-and-CSS-Grid-1.webp","width":1200,"height":360,"caption":"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627"},{"@type":"WebPage","@id":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#webpage","url":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/","name":"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627 | \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","isPartOf":{"@id":"https:\/\/rabsana.ir\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#primaryimage"},"datePublished":"2021-10-07T16:30:12+00:00","dateModified":"2021-10-08T08:32:08+00:00","breadcrumb":{"@id":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/rabsana.ir\/tutorials\/"},{"@type":"ListItem","position":2,"name":"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627"}]},{"@type":"Article","@id":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#article","isPartOf":{"@id":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#webpage"},"author":{"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/f95a0ac81e3ccf2f7b115822a7a815cd"},"headline":"\u0645\u0642\u0627\u06cc\u0633\u0647 Flexbox \u0648 CSS Grid \u0627\u0632 \u0646\u0638\u0631 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0648 \u0645\u062d\u062a\u0648\u0627","datePublished":"2021-10-07T16:30:12+00:00","dateModified":"2021-10-08T08:32:08+00:00","mainEntityOfPage":{"@id":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#webpage"},"wordCount":1365,"commentCount":0,"publisher":{"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b"},"image":{"@id":"https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#primaryimage"},"thumbnailUrl":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/Compare-flexbox-and-CSS-Grid-1.webp","articleSection":["\u0622\u062e\u0631\u06cc\u0646 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u0647\u0627\u06cc \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rabsana.ir\/tutorials\/compare-flexbox-and-css-grid-in-terms-of-rule-and-content\/#respond"]}]},{"@type":"Person","@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/f95a0ac81e3ccf2f7b115822a7a815cd","name":"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc","image":{"@type":"ImageObject","@id":"https:\/\/rabsana.ir\/tutorials\/#personlogo","inLanguage":"fa-IR","url":"https:\/\/secure.gravatar.com\/avatar\/0910931d9fb93b2b6b0627aa03c9f1c6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0910931d9fb93b2b6b0627aa03c9f1c6?s=96&d=mm&r=g","caption":"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc"},"url":"https:\/\/rabsana.ir\/tutorials\/author\/mahsa-mhmdi\/"}]}},"_links":{"self":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts\/3230"}],"collection":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/comments?post=3230"}],"version-history":[{"count":2,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts\/3230\/revisions"}],"predecessor-version":[{"id":3240,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts\/3230\/revisions\/3240"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/media\/3238"}],"wp:attachment":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/media?parent=3230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/categories?post=3230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/tags?post=3230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}