{"id":1618,"date":"2021-10-15T20:16:38","date_gmt":"2021-10-15T16:46:38","guid":{"rendered":"https:\/\/behnudi.ir\/?p=1618"},"modified":"2025-01-25T19:45:30","modified_gmt":"2025-01-25T16:15:30","slug":"web23-responsive","status":"publish","type":"post","link":"https:\/\/behnudi.ir\/?p=1618","title":{"rendered":"\u0637\u0631\u0627\u062d\u06cc \u0648\u0628: \u06f3- \u0631\u06cc\u0633\u067e\u0627\u0646\u0633\u06cc\u0648"},"content":{"rendered":"<p>\u0627\u0645\u0631\u0648\u0632\u0647 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u06af\u0648\u0646\u0627\u06af\u0648\u0646\u06cc \u0628\u0627 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631\u0647\u0627\u06cc \u06a9\u0648\u0686\u06a9 \u0648 \u0628\u0632\u0631\u06af \u0633\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0627\u0632 \u0645\u0648\u0628\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u06a9\u0648\u0686\u06a9 \u06f4 \u0627\u06cc\u0646\u0686\u06cc \u06af\u0631\u0641\u062a\u0647 \u062a\u0627 \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631\u0647\u0627\u06cc\u06cc \u0628\u0627 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u0647\u0627\u06cc \u0628\u0632\u0631\u06af \u0628\u0647 \u0627\u0646\u062f\u0627\u0632\u0647 \u06f1\u06f0\u06f0 \u0627\u06cc\u0646\u0686. \u0648 \u0647\u0645\u06af\u06cc \u0622\u0646\u0647\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u062f\u0627\u0631\u0646\u062f. \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0647\u0631 \u0635\u0641\u062d\u0647\u200c\u0627\u06cc \u062f\u0631 \u0648\u0628 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u062f\u0631 \u0635\u0641\u062d\u0647 \u0646\u0645\u0627\u06cc\u0634 \u06a9\u0648\u0686\u06a9 \u06cc\u0627 \u0628\u0632\u0631\u06af \u062f\u06cc\u062f\u0647 \u0634\u0648\u062f.<!--more--><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1275\" src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/responsive.jpg\" width=\"400\" \/><\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0645\u062d\u062a\u0648\u0627\u06cc \u0635\u0641\u062d\u0627\u062a \u0648\u0628 \u0628\u0631\u0627\u06cc \u0645\u062e\u0627\u0637\u0628\u0627\u0646 \u062e\u0648\u0627\u0646\u0627 \u0648 \u0632\u06cc\u0628\u0627 \u0628\u0627\u0634\u062f\u060c \u0628\u0627\u06cc\u062f \u0645\u062d\u062a\u0648\u0627 \u0631\u0627 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0627\u0645\u06a9\u0627\u0646\u0627\u062a \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u06cc \u0648 \u0633\u062e\u062a \u0627\u0641\u0632\u0627\u0631\u06cc \u0622\u0646\u0647\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0648 \u0627\u0631\u0627\u0626\u0647 \u06a9\u0631\u062f. \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644\u060c \u0648\u0628 \u0628\u0631\u0648\u0632\u0631\u060c \u0627\u0646\u062f\u0627\u0632\u0647 \u067e\u0646\u062c\u0631\u0647 \u0646\u0645\u0627\u06cc\u0634 \u0686\u06cc\u0632\u0647\u0627\u06cc\u06cc \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u062f\u0631 \u0646\u0645\u0627\u06cc\u0634 \u0645\u062d\u062a\u0648\u0627 \u062a\u0623\u062b\u06cc\u0631 \u0628\u06af\u0630\u0627\u0631\u0646\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0645\u062a\u0646\u0627\u0633\u0628 \u0633\u0627\u0632\u06cc \u0645\u062d\u062a\u0648\u0627 \u0686\u0647 \u06a9\u0627\u0631\u0647\u0627\u06cc\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u06a9\u0631\u062f\u061f<\/p>\n<ul>\n<li>\u062a\u063a\u06cc\u06cc\u0631 \u0627\u0646\u062f\u0627\u0632\u0647 \u0647\u0631 \u0627\u0644\u0645\u0646\u062a<\/li>\n<li>\u062a\u063a\u06cc\u06cc\u0631 \u0686\u06cc\u062f\u0645\u0627\u0646 \u0627\u0644\u0645\u0646\u062a\u200c\u0647\u0627<\/li>\n<li>\u062d\u0630\u0641 \u0628\u0631\u062e\u06cc \u0627\u0632 \u0627\u0644\u0645\u0646\u062a\u200c\u0647\u0627<\/li>\n<\/ul>\n<p>\u0628\u0647 \u0627\u06cc\u0646\u06af\u0648\u0646\u0647 \u0637\u0631\u0627\u062d\u06cc <strong>\u0631\u06cc\u0633\u067e\u0627\u0646\u0633\u06cc\u0648 \u06cc\u0627 \u0648\u0627\u06a9\u0646\u0634\u06af\u0631\u0627<\/strong> \u0645\u06cc \u06af\u0648\u06cc\u0646\u062f.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1278\" src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/responsive_design.png\" width=\"400\" \/><\/p>\n<p>\u0622\u0645\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0648\u0628 \u067e\u06cc\u0648\u0633\u062a\u0647 \u062f\u0631 \u062d\u0627\u0644 \u0631\u0634\u062f \u0627\u0633\u062a. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0627\u0641\u0632\u0627\u06cc\u0634 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u0648\u0628\u0627\u06cc\u0644 \u0628\u0633\u06cc\u0627\u0631 \u0628\u06cc\u0634\u062a\u0631 \u0627\u0632 \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 \u0627\u0633\u062a. \u0648 \u0627\u0632 \u0633\u0627\u0644 \u06f2\u06f0\u06f1\u06f6 \u062a\u0639\u062f\u0627\u062f \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u0648\u0628\u0627\u06cc\u0644 \u0627\u0632 \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 \u0628\u06cc\u0634\u062a\u0631 \u0634\u062f\u0647 \u0648 \u0647\u0645\u0686\u0646\u0627\u0646 \u062f\u0631 \u062d\u0627\u0644 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0627\u0633\u062a.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1282\" src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/web-traffic-statistics.png\" width=\"600\" \/><\/p>\n<p>\u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0627\u06cc\u0646\u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u0648\u0628\u0627\u06cc\u0644 \u0628\u06cc\u0634\u062a\u0631 \u0645\u062e\u0627\u0637\u0628\u0627\u0646 \u0645\u0627 \u0631\u0627 \u062a\u0634\u06a9\u06cc\u0644 \u0645\u06cc\u200c\u062f\u0647\u062f.\u00a0 \u0628\u0627\u06cc\u062f \u0647\u0646\u06af\u0627\u0645 \u0637\u0631\u0627\u062d\u06cc \u0635\u0641\u062d\u0627\u062a\u060c \u0627\u0628\u062a\u062f\u0627 \u0628\u0647 \u0622\u0646\u0647\u0627 \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a.<\/p>\n<p>\u062f\u0631 \u062d\u0642\u06cc\u0642\u062a \u062f\u0631 \u0637\u0631\u0627\u062d\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644 \u0645\u0642\u062f\u0645 \u0627\u0633\u062a. (Mobile First)<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1284\" src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/mobile-first-web-design.jpg\" \/><\/p>\n<h3>\u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a CSS \u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0646\u06cc\u0627\u0632 \u06a9\u0627\u0631\u0628\u0631<\/h3>\n<h3 style=\"text-align: left;\"><code dir=\"ltr\">@media type and (features) {CSS-Code;}<\/code><\/h3>\n<h4>\u062e\u0631\u0648\u062c\u06cc\u200c\u0647\u0627<\/h4>\n<p>\u0627\u063a\u0644\u0628 \u06a9\u0627\u0631\u0628\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u062f \u0645\u062d\u062a\u0648\u0627 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0633\u06a9\u0631\u06cc\u0646 \u06cc\u0627 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 \u0628\u0628\u06cc\u0646\u062f. \u0648\u0644\u06cc \u06af\u0627\u0647\u06cc \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u062f \u0622\u0646 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u06a9\u0627\u063a\u0630 \u067e\u0631\u06cc\u0646\u062a \u06a9\u0646\u062f. \u06cc\u0627 \u0622\u0646\u06a9\u0647 \u0645\u062d\u062a\u0648\u0627 \u0628\u0631\u0627\u06cc\u0634 \u062e\u0648\u0627\u0646\u062f\u0647 \u0634\u0648\u062f.<\/p>\n<div dir=\"ltr\" style=\"text-align: left;\">\n<ul>\n<li><mark>all<\/mark> &#8211; Default<\/li>\n<li><mark>screen<\/mark> &#8211; Computer, Tablets, Phones.<\/li>\n<li><mark>print<\/mark> &#8211; Printers<\/li>\n<li><mark>speech<\/mark> &#8211; ScreenReaders<\/li>\n<\/ul>\n<\/div>\n<div class=\"code-header\">CSS<\/div>\n<pre><code class=\"css\">\r\n\/* for Screen *\/\r\n@media screen {\r\n\r\n\tbody {\r\n\tbackground-image: url(\"bg.gif\");\r\n\t}\r\n\t\r\n}\r\n\r\n\/* for Print *\/\r\n@media print {\r\n\r\n  body {\r\n    color: Black;\r\n    background: White;\r\n  }\r\n\r\n  footer {\r\n    display: none;\r\n  }\r\n\r\n}\r\n\r\n<\/code><\/pre>\n<h4>\u0634\u0631\u0627\u06cc\u0637<\/h4>\n<p>\u0634\u0631\u0627\u06cc\u0637 \u0627\u0633\u06a9\u0631\u06cc\u0646 \u06cc\u0627 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 \u0646\u06cc\u0632 \u062a\u0639\u06cc\u06cc\u0646 \u06a9\u0646\u0646\u062f\u0647 \u0627\u0633\u062a. \u0647\u0645\u0627\u0646\u0646\u062f \u0627\u0646\u062f\u0627\u0632\u0647\u060c \u0646\u0633\u0628\u062a \u0637\u0648\u0644 \u0628\u0647 \u0639\u0631\u0636\u060c \u0631\u0632\u0648\u0644\u0648\u0634\u0646 \u0648 &#8230;<\/p>\n<div dir=\"ltr\" style=\"text-align: left;\">\n<ul>\n<li><mark>width | max-width | min-width<\/mark><\/li>\n<li><mark>height | max-height | min-height<\/mark><\/li>\n<li><mark>aspect-ratio<\/mark><\/li>\n<li><mark>resolution<\/mark><\/li>\n<li><mark>orientation<\/mark><\/li>\n<li><mark>hover<\/mark><\/li>\n<\/ul>\n<\/div>\n<div class=\"code-header\">CSS<\/div>\n<pre><code class=\"css\">\r\n\/* Maximum width *\/\r\n@media (max-width: 768px) {\r\n\tmain {\r\n\t\twidth: 100%;\r\n\t}\r\n}\r\n\r\n\/* Minimum width *\/\r\n@media (min-width: 1024px) {\r\n\tmain {\r\n\t\twidth: 1024px;\r\n\t}\r\n}\r\n\r\n\/* landscape or portrait *\/\r\n@media (orientation: landscape) {\r\n\tmain {\r\n\t\tflex-direction: row;\r\n\t}\r\n}\r\n\r\n<\/code><\/pre>\n<h4>\u0622\u067e\u0631\u06cc\u062a\u0648\u0631\u0647\u0627\u06cc \u0645\u0646\u0637\u0642\u06cc Logical Operators<\/h4>\n<p>\u0628\u0627 \u06a9\u0645\u06a9 \u0622\u067e\u0631\u06cc\u062a\u0648\u0631\u0647\u0627\u06cc \u0645\u0646\u0637\u0642\u06cc (and, or, not) \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0686\u0646\u062f \u0634\u0631\u0637 \u0631\u0627 \u0628\u0627 \u0647\u0645 \u062a\u0631\u06a9\u06cc\u0628 \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"code-header\">CSS<\/div>\n<pre><code class=\"css\">\r\n@media screen and (max-width: 768px) {\r\n\tmain {\r\n\t\twidth: 100%;\r\n\t}\r\n}\r\n\r\n@media (max-width: 768px) and (orientation: landscape) {\r\n\tmain {\r\n\t\twidth: 100%;\r\n\t}\r\n}\r\n\r\n@media screen and (min-width: 768px) and (max-width: 1024px) {\r\n\tmain {\r\n\t\twidth: 100%;\r\n\t}\r\n}\r\n\r\n@media print and (min-resolution: 300dpi) {\r\n\tp {\r\n\t\tfont-family: serif;\r\n\t}\r\n}\t\r\n\r\n@media only screen and (hover: hover) {\r\n\ta:hover {\r\n\t\tbackground-color: Yellow;\r\n\t}\r\n}\r\n\r\n@media not screen {\r\n\tfooter {\r\n\t\tdisplay: none;\r\n\t}\r\n}\r\n\r\n<\/code><\/pre>\n<h4>\u0646\u0642\u0627\u0637 \u0634\u06a9\u0633\u062a Breakpoints<\/h4>\n<p>\u0645\u0648\u0628\u0627\u06cc\u0644\u200c\u0647\u0627\u060c \u062a\u0628\u0644\u062a\u200c\u0647\u0627 \u0648 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u0647\u0627 \u0647\u0631 \u06a9\u062f\u0627\u0645 \u062f\u0631 \u0645\u062d\u062f\u0648\u062f\u0647 \u0645\u0634\u062e\u0635\u06cc \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0646\u062f. \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u0627\u06cc\u0646 \u0645\u062d\u062f\u0648\u062f\u0647\u200c\u0647\u0627 \u0631\u0627 \u0628\u0634\u0646\u0627\u0633\u06cc\u062f. \u0648 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0622\u0646 CSS \u062e\u0648\u062f \u0631\u0627 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f.<\/p>\n<ul>\n<li>\u0645\u0648\u0628\u0627\u06cc\u0644\u200c\u0647\u0627 \u06a9\u0645\u062a\u0631 \u0627\u0632 768px<\/li>\n<li>\u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u0647\u0627 \u0628\u06cc\u0634\u062a\u0631 \u0627\u0632 1024px<\/li>\n<li>\u062a\u0628\u0644\u062a\u200c\u0647\u0627 \u0628\u06cc\u0646 \u0622\u0646 \u062f\u0648<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1288\" src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/responsive.png\" width=\"400\" \/><\/p>\n<div class=\"code-header\">CSS<\/div>\n<pre><code class=\"css\">\r\n@media screen and (max-width: 767px) {\r\n\tsection {\r\n\t\twidth: 100%\u200b;\r\n\t}\r\n}\r\n\r\n@media screen and (min-width: 768px) and (max-width: 1023px) {\r\n\tsection {\r\n\t\twidth: 50%;\r\n\t}\r\n}\r\n\r\n@media screen and (min-width: 1024px) {\r\n\tsection {\r\n\t\twidth: 33%;\r\n\t}\r\n}\r\n\r\n<\/code><\/pre>\n<p><video controls=\"controls\" width=\"640\" height=\"360\"><source src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/resize.mp4\" \/>Your browser does not support the video tag.<\/video><\/p>\n<hr \/>\n<h4>\u062a\u0645\u0631\u06cc\u0646 \u06f1<\/h4>\n<ul>\n<li>\u0627\u06cc\u0646\u00a0<a href=\"https:\/\/behnudi.ir\/f\/web2\/03\/03-1.zip\">\u0641\u0627\u06cc\u0644<\/a>\u00a0\u0631\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0622\u0646 \u0631\u0627 \u062f\u0631 \u0641\u0648\u0644\u062f\u0631 web2 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0628\u0627 \u0631\u0648\u0634 \u0645\u062b\u0627\u0644 \u0628\u0627\u0644\u0627 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u062f\u0631 \u0622\u0646 \u0628\u062f\u0647\u06cc\u062f \u062a\u0627 \u0647\u0645\u0627\u0646\u0646\u062f \u0648\u06cc\u062f\u06cc\u0648\u06cc \u0632\u06cc\u0631 \u0628\u0627\u0634\u062f.<\/li>\n<\/ul>\n<p><video controls=\"controls\" width=\"640\" height=\"360\"><source src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/03-1.mp4\" \/>Your browser does not support the video tag.<\/video><\/p>\n<hr \/>\n<h3>Responsive Text<\/h3>\n<p>\u0641\u0627\u0635\u0644\u0647 \u0686\u0634\u0645 \u0645\u0627 \u0628\u0647 \u0645\u0648\u0628\u0627\u06cc\u0644 \u0628\u0633\u06cc\u0627\u0631 \u06a9\u0645\u062a\u0631 \u0627\u0632 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0627\u0633\u062a. \u067e\u0633 \u0628\u0627\u06cc\u062f \u0633\u0627\u06cc\u0632 \u0641\u0648\u0646\u062a \u0646\u0648\u0634\u062a\u0647\u200c\u0647\u0627 \u062f\u0631 \u0645\u0648\u0628\u0627\u06cc\u0644 \u0627\u0632 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u06a9\u0645\u062a\u0631 \u0628\u0627\u0634\u062f. \u0628\u0631\u0627\u06cc \u0645\u062a\u0646\u0627\u0633\u0628 \u06a9\u0631\u062f \u0633\u0627\u06cc\u0632 \u0641\u0648\u0646\u062a \u0628\u0627 \u0627\u0646\u062f\u0627\u0632\u0647 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 \u0631\u0627\u0647\u200c\u0647\u0627\u06cc \u06af\u0648\u0646\u0627\u06af\u0648\u0646\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u062f\u0631 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u06cc\u06a9 \u0631\u0627\u0647 \u0633\u0627\u062f\u0647 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u062a\u0646\u0647\u0627 \u0628\u0627 \u0627\u0641\u0632\u0648\u062f\u0646 \u06cc\u06a9\u00a0 \u062f\u0633\u062a\u0648\u0631 calc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0633\u0627\u06cc\u0632 \u0641\u0648\u0646\u062a \u0631\u0627 \u0628\u0627 \u0627\u0646\u062f\u0627\u0632\u0647 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631 \u0645\u062a\u0646\u0627\u0633\u0628 \u06a9\u0631\u062f.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1270\" src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/responsive-text.gif\" width=\"640\" \/><\/p>\n<h4>\u0645\u062b\u0627\u0644<\/h4>\n<div class=\"code-header\">CSS<\/div>\n<pre><code class=\"css\">\r\nhtml {\r\n\tfont-size: calc(10px + 0.5vw);\r\n}\r\n\r\nsection { font-size: 1rem; }\r\n\r\np,h1,h2,h3,h4,h5 {\r\n\tmargin-top: .5em;\r\n\tmargin-bottom: .25em; \r\n}\r\n\r\np { font-size: 1em; }\r\n\r\nh1 { font-size: 2em; }\r\nh2 { font-size: 1.5em; }\r\nh3 { font-size: 1.17em; }\r\nh4 { font-size: 1em; }\r\nh5 { font-size: .83em; }\r\nh6 { font-size: .75em; }\r\n\r\n<\/code><\/pre>\n<hr \/>\n<h4>\u062a\u0645\u0631\u06cc\u0646 \u06f2<\/h4>\n<ul>\n<li>\u0627\u06cc\u0646\u00a0<a href=\"https:\/\/behnudi.ir\/f\/web2\/03\/03-2.zip\">\u0641\u0627\u06cc\u0644<\/a>\u00a0\u0631\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0622\u0646 \u0631\u0627 \u062f\u0631 \u0641\u0648\u0644\u062f\u0631 web2 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0628\u0627 \u0631\u0648\u0634 \u0645\u062b\u0627\u0644 \u0628\u0627\u0644\u0627 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u062f\u0631 \u0622\u0646 \u0628\u062f\u0647\u06cc\u062f \u062a\u0627 \u0647\u0645\u0627\u0646\u0646\u062f \u0648\u06cc\u062f\u06cc\u0648\u06cc \u0632\u06cc\u0631 \u0628\u0627\u0634\u062f.<\/li>\n<\/ul>\n<p><video controls=\"controls\" width=\"640\" height=\"360\"><source src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/03-1.mp4\" \/>Your browser does not support the video tag.<\/video><\/p>\n<hr \/>\n<h3>Responsive Image With Art Direction<\/h3>\n<p>\u062a\u0635\u0627\u0648\u06cc\u0631 \u0631\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0647 \u0627\u0646\u062f\u0627\u0632\u0647 \u0627\u0633\u06a9\u0631\u06cc\u0646 \u06a9\u0648\u0686\u06a9 \u06cc\u0627 \u0628\u0632\u0631\u06af \u06a9\u0631\u062f. \u0648\u0644\u06cc \u06a9\u0648\u0686\u06a9 \u0634\u062f\u0646 \u0628\u06cc\u0634 \u0627\u0632 \u0627\u0646\u062f\u0627\u0632\u0647 \u062a\u0635\u0648\u06cc\u0631 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u0647 \u0647\u062f\u0641 \u0645\u0627 \u0627\u0632 \u06af\u0630\u0627\u0634\u062a\u0646 \u0622\u0646 \u0644\u0637\u0645\u0647 \u0628\u0632\u0646\u062f.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1271\" src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/responsive-image.jpg\" alt=\"\" width=\"800\" height=\"310\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1272\" src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/images.jpg\" alt=\"\" width=\"1200\" height=\"600\" \/><\/p>\n<p><video controls=\"controls\" width=\"640\" height=\"360\"><source src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/responsive-image.webm\" type=\"video\/webm\" \/>Your browser does not support the video tag.<\/video><\/p>\n<hr \/>\n<h4>\u062a\u0645\u0631\u06cc\u0646 \u06f3<\/h4>\n<ul>\n<li>\u0627\u06cc\u0646\u00a0<a href=\"https:\/\/behnudi.ir\/f\/web2\/03\/03-3.zip\">\u0641\u0627\u06cc\u0644<\/a>\u00a0\u0631\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0622\u0646 \u0631\u0627 \u062f\u0631 \u0641\u0648\u0644\u062f\u0631 web2 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0628\u0627 \u0631\u0648\u0634 \u0645\u062b\u0627\u0644 \u0628\u0627\u0644\u0627 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u062f\u0631 \u0622\u0646 \u0628\u062f\u0647\u06cc\u062f \u062a\u0627 \u0647\u0645\u0627\u0646\u0646\u062f \u0648\u06cc\u062f\u06cc\u0648\u06cc \u0632\u06cc\u0631 \u0628\u0627\u0634\u062f.<\/li>\n<\/ul>\n<p><video controls=\"controls\" width=\"640\" height=\"360\"><source src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/03-3.mp4\" \/>Your browser does not support the video tag.<\/video><\/p>\n<hr \/>\n<h4>\u062c\u062f\u0648\u0644 \u0631\u06cc\u0633\u067e\u0627\u0646\u0633\u06cc\u0648<\/h4>\n<p>\u062c\u062f\u0648\u0644 \u0631\u0627 \u0628\u0647 \u0631\u0627\u0647\u200c\u0647\u0627\u06cc \u06af\u0648\u0646\u0627\u06af\u0648\u0646\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0631\u06cc\u0633\u067e\u0627\u0646\u0633\u06cc\u0648 \u06a9\u0631\u062f. \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u06cc\u06a9\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0631\u0627\u0647\u200c\u0647\u0627 \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1273\" src=\"https:\/\/behnudi.ir\/f\/web2\/03\/img\/responsive-table.gif\" alt=\"\" width=\"593\" height=\"498\" \/><\/p>\n<h3>Example: Collapse Row<\/h3>\n<div class=\"code-header\">CSS<\/div>\n<pre><code class=\"html\">\r\n&lt;table&gt;\r\n  &lt;thead&gt;\r\n    &lt;tr&gt;\r\n      &lt;th&gt;First Name&lt;\/th&gt;\r\n      &lt;th&gt;Last Name&lt;\/th&gt;\r\n      &lt;th&gt;School&lt;\/th&gt;\r\n      &lt;th&gt;Major&lt;\/th&gt;\r\n\t&lt;\/tr&gt;\r\n  &lt;\/thead&gt;\t\r\n  &lt;tbody&gt;\r\n    &lt;tr&gt;\r\n      &lt;td data-label=\"First Name\"&gt;Bob&lt;\/td&gt;\r\n      &lt;td data-label=\"Last Name\"&gt;Smith&lt;\/td&gt;\r\n      &lt;td data-label=\"School\"&gt;Stanford University&lt;\/td&gt;\r\n      &lt;td data-label=\"Major\"&gt;Computer Science&lt;\/td&gt;\r\n    &lt;\/tr&gt;\t\r\n    ...\r\n  &lt;\/tbody&gt;\r\n&lt;\/table&gt;\r\n\r\n<\/code><\/pre>\n<div class=\"code-header\">CSS<\/div>\n<pre><code class=\"css\">\r\n@media screen and (max-width: 768px) {\r\n\ttable {\r\n\t\tborder: 0;\r\n\t}\r\n\tthead {\r\n\t\tdisplay: none;\r\n\t}\r\n\ttr {\r\n\t\tdisplay: block;\r\n\t\tmargin-bottom: .5em;\r\n\t}\r\n\ttd {\r\n\t\tdisplay: block;\r\n\t\tborder-bottom: 1px solid #ddd;\r\n\t\ttext-align: left;\r\n\t}\r\n\ttd::before {\r\n\t\tcontent: attr(data-label)\": \";\r\n\t\tfont-weight: bold;\r\n\t}\r\n\ttd:last-child {\r\n\t\tborder-bottom: 0;\r\n\t}\r\n}\r\n\r\n<\/code><\/pre>\n<p><iframe loading=\"lazy\" dir=\"ltr\" style=\"resize: horizontal;\" src=\"https:\/\/behnudi.ir\/f\/web2\/03\/04\/\" width=\"640\" height=\"480\"><\/iframe><br \/>\n\u06af\u0648\u0634\u0647 \u0641\u0631\u06cc\u0645 \u0628\u0627\u0644\u0627 \u0631\u0627 \u0628\u06af\u06cc\u0631\u06cc\u062f \u0648 \u0622\u0646 \u0631\u0627 \u0628\u0632\u0631\u06af \u0648 \u06a9\u0648\u0686\u06a9 \u06a9\u0646\u06cc\u062f \u0648 \u0646\u062a\u06cc\u062c\u0647 \u0631\u0627 \u0628\u0628\u06cc\u0646\u06cc\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0627\u0645\u0631\u0648\u0632\u0647 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u06af\u0648\u0646\u0627\u06af\u0648\u0646\u06cc \u0628\u0627 \u0646\u0645\u0627\u06cc\u0634\u06af\u0631\u0647\u0627\u06cc \u06a9\u0648\u0686\u06a9 \u0648 \u0628\u0632\u0631\u06af \u0633\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0627\u0632 \u0645\u0648\u0628\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u06a9\u0648\u0686\u06a9 \u06f4 \u0627\u06cc\u0646\u0686\u06cc \u06af\u0631\u0641\u062a\u0647 \u062a\u0627 \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631\u0647\u0627\u06cc\u06cc \u0628\u0627 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u0647\u0627\u06cc \u0628\u0632\u0631\u06af \u0628\u0647 \u0627\u0646\u062f\u0627\u0632\u0647 \u06f1\u06f0\u06f0 \u0627\u06cc\u0646\u0686. \u0648 \u0647\u0645\u06af\u06cc \u0622\u0646\u0647\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u062f\u0627\u0631\u0646\u062f. \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0647\u0631 \u0635\u0641\u062d\u0647\u200c\u0627\u06cc \u062f\u0631 \u0648\u0628 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u062f\u0631 \u0635\u0641\u062d\u0647 \u0646\u0645\u0627\u06cc\u0634 \u06a9\u0648\u0686\u06a9 \u06cc\u0627 \u0628\u0632\u0631\u06af \u062f\u06cc\u062f\u0647 \u0634\u0648\u062f.<\/p>\n","protected":false},"author":1,"featured_media":1613,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[44],"class_list":["post-1618","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-science","tag-web-design"],"_links":{"self":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/posts\/1618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1618"}],"version-history":[{"count":0,"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/posts\/1618\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/media\/1613"}],"wp:attachment":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}