{"id":135387,"date":"2026-07-24T08:46:59","date_gmt":"2026-07-24T02:46:59","guid":{"rendered":"https:\/\/rcl-radio.ru\/?p=135387"},"modified":"2026-07-24T08:46:59","modified_gmt":"2026-07-24T02:46:59","slug":"border-%d1%82%d0%be%d0%bb%d1%89%d0%b8%d0%bd%d0%b0-%d1%81%d1%82%d0%b8%d0%bb%d1%8c-%d1%86%d0%b2%d0%b5%d1%82-%d0%b8-%d0%ba%d0%b0%d0%ba-%d0%bd%d0%b5-%d0%bf%d0%be%d0%bb%d1%83%d1%87%d0%b8%d1%82%d1%8c","status":"publish","type":"post","link":"https:\/\/rcl-radio.ru\/?p=135387","title":{"rendered":"border: \u0442\u043e\u043b\u0449\u0438\u043d\u0430, \u0441\u0442\u0438\u043b\u044c, \u0446\u0432\u0435\u0442 \u0438 \u043a\u0430\u043a \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0432\u043e\u0439\u043d\u044b\u0435 \u043b\u0438\u043d\u0438\u0438 (CSS)"},"content":{"rendered":"<p>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e <code class=\"CodeInlined\">border<\/code> \u0432 CSS \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u0434\u0430\u0442\u044c \u0440\u0430\u043c\u043a\u0443 \u0432\u043e\u043a\u0440\u0443\u0433 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u041e\u043d\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u0442\u0440\u0438 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438: \u0442\u043e\u043b\u0449\u0438\u043d\u0443 (<code class=\"CodeInlined\">border-width<\/code>), \u0441\u0442\u0438\u043b\u044c (<code class=\"CodeInlined\">border-style<\/code>) \u0438 \u0446\u0432\u0435\u0442 (<code class=\"CodeInlined\">border-color<\/code>).<\/p>\n<hr \/>\n<h2>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0438 \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0437\u0430\u043f\u0438\u0441\u0438<\/h2>\n<p>\u0421\u0430\u043c\u044b\u0439 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2014 \u0447\u0435\u0440\u0435\u0437 \u0441\u043e\u043a\u0440\u0430\u0449\u0451\u043d\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">selector <span style=\"color: #66cc66;\">{<\/span>\r\n  <span style=\"color: #0066cc;\">border<\/span>: \u0442\u043e\u043b\u0449\u0438\u043d\u0430 \u0441\u0442\u0438\u043b\u044c \u0446\u0432\u0435\u0442;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">box<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  <span style=\"color: #0066cc;\">border<\/span>: 2px solid red;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>\u042d\u0442\u043e \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e \u0442\u0440\u0451\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">box<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  border-<span style=\"color: #0066cc;\">width<\/span>: 2px;\r\n  border-style: solid;\r\n  border-<span style=\"color: #0066cc;\">color<\/span>: red;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>\u041c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">box<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  border-top: 1px dashed blue;\r\n  border-<span style=\"color: #0066cc;\">right<\/span>: 3px dotted green;\r\n  border-bottom: 2px solid yellow;\r\n  border-<span style=\"color: #0066cc;\">left<\/span>: 4px double orange;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<hr \/>\n<h2>\u0422\u043e\u043b\u0449\u0438\u043d\u0430: border-width<\/h2>\n<p>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c:<\/p>\n<ul>\n<li data-value=\"\" data-shift=\"0\">\u0432 \u0435\u0434\u0438\u043d\u0438\u0446\u0430\u0445 \u0434\u043b\u0438\u043d\u044b: <code class=\"CodeInlined\">1px<\/code>, <code class=\"CodeInlined\">2em<\/code>, <code class=\"CodeInlined\">1rem<\/code>, <code class=\"CodeInlined\">5%<\/code> (\u0440\u0435\u0434\u043a\u043e, \u043d\u043e \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e);<\/li>\n<li data-value=\"\" data-shift=\"0\">\u043a\u043b\u044e\u0447\u0435\u0432\u044b\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438: <code class=\"CodeInlined\">thin<\/code>, <code class=\"CodeInlined\">medium<\/code>, <code class=\"CodeInlined\">thick<\/code>.<\/li>\n<\/ul>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">html<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\"><span style=\"color: #66cc66;\">&lt;<\/span>div <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"b-thin\"<\/span><span style=\"color: #66cc66;\">&gt;&lt;\/<\/span>div<span style=\"color: #66cc66;\">&gt;<\/span>\r\n<span style=\"color: #66cc66;\">&lt;<\/span>div <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"b-medium\"<\/span><span style=\"color: #66cc66;\">&gt;&lt;\/<\/span>div<span style=\"color: #66cc66;\">&gt;<\/span>\r\n<span style=\"color: #66cc66;\">&lt;<\/span>div <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"b-thick\"<\/span><span style=\"color: #66cc66;\">&gt;&lt;\/<\/span>div<span style=\"color: #66cc66;\">&gt;<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">b<\/span>-thin   <span style=\"color: #66cc66;\">{<\/span> border-<span style=\"color: #0066cc;\">width<\/span>: thin; <span style=\"color: #66cc66;\">}<\/span>\r\n.<span style=\"color: #006600;\">b<\/span>-medium <span style=\"color: #66cc66;\">{<\/span> border-<span style=\"color: #0066cc;\">width<\/span>: medium; <span style=\"color: #66cc66;\">}<\/span>\r\n.<span style=\"color: #006600;\">b<\/span>-thick  <span style=\"color: #66cc66;\">{<\/span> border-<span style=\"color: #0066cc;\">width<\/span>: thick; <span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>\u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0447\u0430\u0449\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043f\u0438\u043a\u0441\u0435\u043b\u0438: <code class=\"CodeInlined\">1px<\/code>, <code class=\"CodeInlined\">2px<\/code> \u2014 \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u043e \u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u0432\u043e \u0432\u0441\u0435\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445.<\/p>\n<hr \/>\n<h2>\u0421\u0442\u0438\u043b\u044c: border-style<\/h2>\n<p>\u0421\u0430\u043c\u044b\u0435 \u0432\u043e\u0441\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f:<\/p>\n<ul>\n<li data-value=\"\" data-shift=\"0\"><code class=\"CodeInlined\">none<\/code> \u2014 \u0440\u0430\u043c\u043a\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 (\u043d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u0435\u0441\u0442\u0430);<\/li>\n<li data-value=\"\" data-shift=\"0\"><code class=\"CodeInlined\">solid<\/code> \u2014 \u0441\u043f\u043b\u043e\u0448\u043d\u0430\u044f \u043b\u0438\u043d\u0438\u044f;<\/li>\n<li data-value=\"\" data-shift=\"0\"><code class=\"CodeInlined\">dashed<\/code> \u2014 \u043f\u0443\u043d\u043a\u0442\u0438\u0440;<\/li>\n<li data-value=\"\" data-shift=\"0\"><code class=\"CodeInlined\">dotted<\/code> \u2014 \u0442\u043e\u0447\u043a\u0438;<\/li>\n<li data-value=\"\" data-shift=\"0\"><code class=\"CodeInlined\">double<\/code> \u2014 \u0434\u0432\u043e\u0439\u043d\u0430\u044f \u043b\u0438\u043d\u0438\u044f (\u043c\u0435\u0436\u0434\u0443 \u043b\u0438\u043d\u0438\u044f\u043c\u0438 \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u043a).<\/li>\n<\/ul>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0441\u0442\u0438\u043b\u0435\u0439:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">border<\/span>-solid  <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">border<\/span>: 2px solid <span style=\"color: #808080; font-style: italic;\">#000; }<\/span>\r\n.<span style=\"color: #006600;\">border<\/span>-dashed <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">border<\/span>: 2px dashed <span style=\"color: #808080; font-style: italic;\">#000; }<\/span>\r\n.<span style=\"color: #006600;\">border<\/span>-dotted <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">border<\/span>: 2px dotted <span style=\"color: #808080; font-style: italic;\">#000; }<\/span>\r\n.<span style=\"color: #006600;\">border<\/span>-double <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">border<\/span>: 6px double <span style=\"color: #808080; font-style: italic;\">#000; } \/* double \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0442\u043e\u043b\u0449\u0438\u043d\u044b *\/<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>\u0412\u0430\u0436\u043d\u043e: \u0435\u0441\u043b\u0438 \u0441\u0442\u0438\u043b\u044c \u043d\u0435 \u0437\u0430\u0434\u0430\u043d (\u0438\u043b\u0438 \u0441\u0442\u043e\u0438\u0442 <code class=\"CodeInlined\">none<\/code>), \u0442\u043e \u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u0442\u043e\u043b\u0449\u0438\u043d\u044b \u0438 \u0446\u0432\u0435\u0442\u0430 \u0440\u0430\u043c\u043a\u0430 \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u0441\u044f.<\/p>\n<hr \/>\n<h2>\u0426\u0432\u0435\u0442: border-color<\/h2>\n<p>\u0426\u0432\u0435\u0442 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c, \u043f\u0440\u0438\u043d\u044f\u0442\u044b\u043c \u0432 CSS:<\/p>\n<ul>\n<li data-value=\"\" data-shift=\"0\">\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f: <code class=\"CodeInlined\">red<\/code>, <code class=\"CodeInlined\">blue<\/code>;<\/li>\n<li data-value=\"\" data-shift=\"0\">HEX: <code class=\"CodeInlined\">#ff0000<\/code>;<\/li>\n<li data-value=\"\" data-shift=\"0\">RGB\/RGBA: <code class=\"CodeInlined\">rgb(255, 0, 0)<\/code>, <code class=\"CodeInlined\">rgba(255, 0, 0, 0.5)<\/code>;<\/li>\n<li data-value=\"\" data-shift=\"0\">\u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u0446\u0432\u0435\u0442\u0430 \u0442\u0435\u043a\u0441\u0442\u0430: <code class=\"CodeInlined\">currentColor<\/code> \u2014 \u0443\u0434\u043e\u0431\u043d\u043e \u0434\u043b\u044f \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u043d\u043e\u0441\u0442\u0438 \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c.<\/li>\n<\/ul>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">box<\/span>-<span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">border<\/span>: 1px solid red; <span style=\"color: #66cc66;\">}<\/span>\r\n.<span style=\"color: #006600;\">box<\/span>-<span style=\"color: #cc66cc;\">2<\/span> <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">border<\/span>: 1px solid <span style=\"color: #808080; font-style: italic;\">#333; }<\/span>\r\n.<span style=\"color: #006600;\">box<\/span>-<span style=\"color: #cc66cc;\">3<\/span> <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">border<\/span>: 1px solid rgba<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">0<\/span>, <span style=\"color: #cc66cc;\">128<\/span>, <span style=\"color: #cc66cc;\">255<\/span>, <span style=\"color: #cc66cc;\">0.7<\/span><span style=\"color: #66cc66;\">)<\/span>; <span style=\"color: #66cc66;\">}<\/span>\r\n.<span style=\"color: #006600;\">box<\/span>-<span style=\"color: #cc66cc;\">4<\/span> <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">color<\/span>: <span style=\"color: #808080; font-style: italic;\">#fff; border: 1px solid currentColor; } \/* \u0440\u0430\u043c\u043a\u0430 \u043f\u043e\u0434 \u0446\u0432\u0435\u0442 \u0442\u0435\u043a\u0441\u0442\u0430 *\/<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<hr \/>\n<h2>\u041a\u0430\u043a \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0432\u043e\u0439\u043d\u044b\u0435 \u043b\u0438\u043d\u0438\u0438: \u0447\u0430\u0441\u0442\u044b\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u044b \u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/h2>\n<h3>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 1: \u0441\u043c\u0435\u0436\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0441 \u0440\u0430\u043c\u043a\u0430\u043c\u0438<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0434\u0432\u0443\u0445 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0435\u0441\u0442\u044c \u0440\u0430\u043c\u043a\u0438, \u043e\u043d\u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u00ab\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f\u00bb \u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043a\u0430\u043a \u0434\u0432\u043e\u0439\u043d\u0430\u044f \u043b\u0438\u043d\u0438\u044f.<\/p>\n<p>HTML:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\"><span style=\"color: #66cc66;\">&lt;<\/span>div <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"item\"<\/span><span style=\"color: #66cc66;\">&gt;<\/span><span style=\"color: #cc66cc;\">1<\/span><span style=\"color: #66cc66;\">&lt;\/<\/span>div<span style=\"color: #66cc66;\">&gt;<\/span>\r\n<span style=\"color: #66cc66;\">&lt;<\/span>div <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"item\"<\/span><span style=\"color: #66cc66;\">&gt;<\/span><span style=\"color: #cc66cc;\">2<\/span><span style=\"color: #66cc66;\">&lt;\/<\/span>div<span style=\"color: #66cc66;\">&gt;<\/span>\r\n<span style=\"color: #66cc66;\">&lt;<\/span>div <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"item\"<\/span><span style=\"color: #66cc66;\">&gt;<\/span><span style=\"color: #cc66cc;\">3<\/span><span style=\"color: #66cc66;\">&lt;\/<\/span>div<span style=\"color: #66cc66;\">&gt;<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>CSS (\u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430):<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">item<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  <span style=\"color: #0066cc;\">border<\/span>: 1px solid black;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: \u043c\u0435\u0436\u0434\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u2014 \u0434\u0432\u0435 \u043b\u0438\u043d\u0438\u0438 \u043f\u043e 1px, \u0438\u0442\u043e\u0433\u043e 2px.<\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 1:<\/strong> \u0443\u0431\u0440\u0430\u0442\u044c \u0440\u0430\u043c\u043a\u0443 \u0443 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443 \u043d\u0438\u0436\u043d\u0435\u0439), \u0430 \u0443 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0432\u0435\u0440\u043d\u0443\u0442\u044c:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">item<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  border-top: 1px solid black;\r\n  border-<span style=\"color: #0066cc;\">right<\/span>: 1px solid black;\r\n  border-<span style=\"color: #0066cc;\">left<\/span>: 1px solid black;\r\n<span style=\"color: #66cc66;\">}<\/span>\r\n\u00a0\r\n.<span style=\"color: #006600;\">item<\/span>:<span style=\"color: #0066cc;\">not<\/span><span style=\"color: #66cc66;\">(<\/span>:last-child<span style=\"color: #66cc66;\">)<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  border-bottom: none;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 2:<\/strong> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code class=\"CodeInlined\">box-shadow<\/code> \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0438\u0436\u043d\u0435\u0439 \u0440\u0430\u043c\u043a\u0438 \u0434\u043b\u044f \u0438\u043c\u0438\u0442\u0430\u0446\u0438\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">item<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  <span style=\"color: #0066cc;\">border<\/span>: 1px solid black;\r\n  box-shadow: <span style=\"color: #cc66cc;\">0<\/span> 1px <span style=\"color: #cc66cc;\">0<\/span> rgba<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">0.1<\/span><span style=\"color: #66cc66;\">)<\/span>; <span style=\"color: #808080; font-style: italic;\">\/* \u0442\u043e\u043d\u043a\u0430\u044f \u0442\u0435\u043d\u044c \u0441\u043d\u0438\u0437\u0443 *\/<\/span>\r\n  border-bottom: none; <span style=\"color: #808080; font-style: italic;\">\/* \u0443\u0431\u0438\u0440\u0430\u0435\u043c \u0440\u0435\u0430\u043b\u044c\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e *\/<\/span>\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<hr \/>\n<h3>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 2: border \u043d\u0430 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0435 \u0438 \u043d\u0430 \u0440\u0435\u0431\u0451\u043d\u043a\u0435 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e<\/h3>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0443 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044f \u0438 \u0443 \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0435\u0441\u0442\u044c \u0440\u0430\u043c\u043a\u0438, \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u043b\u0438\u043d\u0438\u044f \u00ab\u0443\u0434\u0432\u043e\u0438\u043b\u0430\u0441\u044c\u00bb \u0438\u043b\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0435\u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e.<\/p>\n<p>HTML:<\/p>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\"><span style=\"color: #66cc66;\">&lt;<\/span>div <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"parent\"<\/span><span style=\"color: #66cc66;\">&gt;<\/span>\r\n  <span style=\"color: #66cc66;\">&lt;<\/span>div <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"child\"<\/span><span style=\"color: #66cc66;\">&gt;<\/span>\u041a\u043e\u043d\u0442\u0435\u043d\u0442<span style=\"color: #66cc66;\">&lt;\/<\/span>div<span style=\"color: #66cc66;\">&gt;<\/span>\r\n<span style=\"color: #66cc66;\">&lt;\/<\/span>div<span style=\"color: #66cc66;\">&gt;<\/span><\/pre>\n<p>CSS (\u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430):<\/p>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">parent<\/span> <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">border<\/span>: 1px solid black; <span style=\"color: #66cc66;\">}<\/span>\r\n.<span style=\"color: #006600;\">child<\/span>  <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">border<\/span>: 1px solid blue; <span style=\"color: #66cc66;\">}<\/span><\/pre>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong> \u0432\u044b\u0431\u0440\u0430\u0442\u044c, \u0433\u0434\u0435 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0440\u0430\u043c\u043a\u0430 \u2014 \u043b\u0438\u0431\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0443 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044f, \u043b\u0438\u0431\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0443 \u0440\u0435\u0431\u0451\u043d\u043a\u0430. \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u0431\u043b\u043e\u043a, \u0440\u0430\u043c\u043a\u0443 \u043b\u0443\u0447\u0448\u0435 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0443 \u043d\u0435\u0433\u043e, \u0430 \u0443 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044f \u2014 \u0443\u0431\u0440\u0430\u0442\u044c.<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">parent<\/span> <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #808080; font-style: italic;\">\/* \u0431\u0435\u0437 border *\/<\/span> <span style=\"color: #66cc66;\">}<\/span>\r\n.<span style=\"color: #006600;\">child<\/span>  <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">border<\/span>: 1px solid blue; <span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>\u0418\u043b\u0438, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u044f\u044f \u0433\u0440\u0430\u043d\u0438\u0446\u0430, \u0440\u0430\u043c\u043a\u0443 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0443 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044f, \u0430 \u0443 \u0440\u0435\u0431\u0451\u043d\u043a\u0430 \u0443\u0431\u0438\u0440\u0430\u044e\u0442:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">parent<\/span> <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #0066cc;\">border<\/span>: 1px solid black; <span style=\"color: #66cc66;\">}<\/span>\r\n.<span style=\"color: #006600;\">child<\/span>  <span style=\"color: #66cc66;\">{<\/span> <span style=\"color: #808080; font-style: italic;\">\/* \u0431\u0435\u0437 border *\/<\/span> <span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<hr \/>\n<h3>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 3: border-collapse \u0443 \u0442\u0430\u0431\u043b\u0438\u0446<\/h3>\n<p>\u0412 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445 \u0434\u0432\u043e\u0439\u043d\u044b\u0435 \u043b\u0438\u043d\u0438\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0443 \u044f\u0447\u0435\u0435\u043a \u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u0432\u043e\u0438 \u0440\u0430\u043c\u043a\u0438.<\/p>\n<p>HTML:<\/p>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\"><span style=\"color: #66cc66;\">&lt;<\/span>table <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"bad-table\"<\/span><span style=\"color: #66cc66;\">&gt;<\/span>\r\n  <span style=\"color: #66cc66;\">&lt;<\/span>tr<span style=\"color: #66cc66;\">&gt;<\/span>\r\n    <span style=\"color: #66cc66;\">&lt;<\/span>td<span style=\"color: #66cc66;\">&gt;<\/span>A<span style=\"color: #66cc66;\">&lt;\/<\/span>td<span style=\"color: #66cc66;\">&gt;&lt;<\/span>td<span style=\"color: #66cc66;\">&gt;<\/span>B<span style=\"color: #66cc66;\">&lt;\/<\/span>td<span style=\"color: #66cc66;\">&gt;<\/span>\r\n  <span style=\"color: #66cc66;\">&lt;\/<\/span>tr<span style=\"color: #66cc66;\">&gt;<\/span>\r\n  <span style=\"color: #66cc66;\">&lt;<\/span>tr<span style=\"color: #66cc66;\">&gt;<\/span>\r\n    <span style=\"color: #66cc66;\">&lt;<\/span>td<span style=\"color: #66cc66;\">&gt;<\/span>C<span style=\"color: #66cc66;\">&lt;\/<\/span>td<span style=\"color: #66cc66;\">&gt;&lt;<\/span>td<span style=\"color: #66cc66;\">&gt;<\/span>D<span style=\"color: #66cc66;\">&lt;\/<\/span>td<span style=\"color: #66cc66;\">&gt;<\/span>\r\n  <span style=\"color: #66cc66;\">&lt;\/<\/span>tr<span style=\"color: #66cc66;\">&gt;<\/span>\r\n<span style=\"color: #66cc66;\">&lt;\/<\/span>table<span style=\"color: #66cc66;\">&gt;<\/span><\/pre>\n<p>CSS (\u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430):<\/p>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">bad<\/span>-table, .<span style=\"color: #006600;\">bad<\/span>-table td <span style=\"color: #66cc66;\">{<\/span>\r\n  <span style=\"color: #0066cc;\">border<\/span>: 1px solid black;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code class=\"CodeInlined\">border-collapse: collapse<\/code>:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">good<\/span>-table <span style=\"color: #66cc66;\">{<\/span>\r\n  border-collapse: collapse;\r\n<span style=\"color: #66cc66;\">}<\/span>\r\n.<span style=\"color: #006600;\">good<\/span>-table td, .<span style=\"color: #006600;\">good<\/span>-table th <span style=\"color: #66cc66;\">{<\/span>\r\n  <span style=\"color: #0066cc;\">border<\/span>: 1px solid black;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043b\u0438\u043d\u0438\u0438 \u043d\u0435 \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u044b\u043a\u0430\u0445.<\/p>\n<hr \/>\n<h3>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 4: border + outline<\/h3>\n<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442 <code class=\"CodeInlined\">outline<\/code> \u0434\u043b\u044f \u0444\u043e\u043a\u0443\u0441\u0430, \u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 <code class=\"CodeInlined\">border<\/code> \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u0434\u0432\u043e\u0439\u043d\u0430\u044f \u0440\u0430\u043c\u043a\u0430.<\/p>\n<p>CSS (\u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430):<\/p>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\"><span style=\"color: #0066cc;\">button<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  <span style=\"color: #0066cc;\">border<\/span>: 1px solid gray;\r\n<span style=\"color: #66cc66;\">}<\/span>\r\n<span style=\"color: #0066cc;\">button<\/span>:focus <span style=\"color: #66cc66;\">{<\/span>\r\n  outline: 2px solid blue;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong> \u043b\u0438\u0431\u043e \u0443\u0431\u0440\u0430\u0442\u044c <code class=\"CodeInlined\">border<\/code> \u043f\u0440\u0438 \u0444\u043e\u043a\u0443\u0441\u0435, \u043b\u0438\u0431\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c <code class=\"CodeInlined\">outline<\/code> \u043d\u0430 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u0441\u0442\u0438\u043b\u044c (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code class=\"CodeInlined\">box-shadow<\/code>), \u043b\u0438\u0431\u043e \u044f\u0432\u043d\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430.<\/p>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 <code class=\"CodeInlined\">box-shadow<\/code>:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\"><span style=\"color: #0066cc;\">button<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  <span style=\"color: #0066cc;\">border<\/span>: 1px solid gray;\r\n  outline: none;\r\n<span style=\"color: #66cc66;\">}<\/span>\r\n<span style=\"color: #0066cc;\">button<\/span>:focus <span style=\"color: #66cc66;\">{<\/span>\r\n  box-shadow: <span style=\"color: #cc66cc;\">0<\/span> <span style=\"color: #cc66cc;\">0<\/span> <span style=\"color: #cc66cc;\">0<\/span> 2px rgba<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">0<\/span>,<span style=\"color: #cc66cc;\">123<\/span>,<span style=\"color: #cc66cc;\">255<\/span>,<span style=\"color: #cc66cc;\">0.5<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<hr \/>\n<h2>\u0420\u0430\u0437\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u0442\u043e\u0440\u043e\u043d<\/h2>\n<p>\u041c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">box<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  border-top: 2px solid red;\r\n  border-<span style=\"color: #0066cc;\">right<\/span>: 2px dashed green;\r\n  border-bottom: 2px dotted blue;\r\n  border-<span style=\"color: #0066cc;\">left<\/span>: 2px double orange;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>\u0421\u043e\u043a\u0440\u0430\u0449\u0451\u043d\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u043b\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0442\u043e\u0440\u043e\u043d:<\/p>\n<div class=\"CodeBlock CodeBlock_overflow_visible CodeBlock_highlight\">\n<div class=\"CodeBlock-StickyWrapper\">\n<div class=\"CodeBlock-Header\">\n<div class=\"CodeBlock-HeaderTitle\">css<\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">box<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  border-top: 3px solid black;\r\n  border-right-<span style=\"color: #0066cc;\">width<\/span>: 1px;\r\n  border-right-style: dotted;\r\n  border-right-<span style=\"color: #0066cc;\">color<\/span>: gray;\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<hr \/>\n<h2>\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440: \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0430 \u0431\u0435\u0437 \u0434\u0432\u043e\u0439\u043d\u044b\u0445 \u043b\u0438\u043d\u0438\u0439<\/h2>\n<p>HTML:<\/p>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\"><span style=\"color: #66cc66;\">&lt;<\/span>article <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"card\"<\/span><span style=\"color: #66cc66;\">&gt;<\/span>\r\n  <span style=\"color: #66cc66;\">&lt;<\/span>h2 <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"card-title\"<\/span><span style=\"color: #66cc66;\">&gt;<\/span>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a<span style=\"color: #66cc66;\">&lt;\/<\/span>h2<span style=\"color: #66cc66;\">&gt;<\/span>\r\n  <span style=\"color: #66cc66;\">&lt;<\/span>p <span style=\"color: #000000; font-weight: bold;\">class<\/span>=<span style=\"color: #ff0000;\">\"card-text\"<\/span><span style=\"color: #66cc66;\">&gt;<\/span>\u0422\u0435\u043a\u0441\u0442 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438.<span style=\"color: #66cc66;\">&lt;\/<\/span>p<span style=\"color: #66cc66;\">&gt;<\/span>\r\n<span style=\"color: #66cc66;\">&lt;\/<\/span>article<span style=\"color: #66cc66;\">&gt;<\/span><\/pre>\n<p>CSS:<\/p>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 14px;\">.<span style=\"color: #006600;\">card<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  <span style=\"color: #0066cc;\">border<\/span>: 1px solid <span style=\"color: #808080; font-style: italic;\">#ccc;<\/span>\r\n  padding: 16px;\r\n<span style=\"color: #66cc66;\">}<\/span>\r\n.<span style=\"color: #006600;\">card<\/span>-title <span style=\"color: #66cc66;\">{<\/span>\r\n  margin-top: <span style=\"color: #cc66cc;\">0<\/span>;\r\n  margin-bottom: 8px;\r\n  <span style=\"color: #808080; font-style: italic;\">\/* \u0431\u0435\u0437 border, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u0434\u0432\u043e\u0439\u043d\u044b\u0445 \u043b\u0438\u043d\u0438\u0439 *\/<\/span>\r\n<span style=\"color: #66cc66;\">}<\/span>\r\n.<span style=\"color: #006600;\">card<\/span>-<span style=\"color: #0066cc;\">text<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  <span style=\"color: #808080; font-style: italic;\">\/* \u0442\u043e\u0436\u0435 \u0431\u0435\u0437 border *\/<\/span>\r\n<span style=\"color: #66cc66;\">}<\/span><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-135388\" src=\"https:\/\/rcl-radio.ru\/wp-content\/uploads\/2026\/07\/1168976297963767236239239110033.png\" alt=\"\" width=\"486\" height=\"122\" srcset=\"https:\/\/rcl-radio.ru\/wp-content\/uploads\/2026\/07\/1168976297963767236239239110033.png 486w, https:\/\/rcl-radio.ru\/wp-content\/uploads\/2026\/07\/1168976297963767236239239110033-200x50.png 200w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u0440\u0430\u043c\u043a\u0430 \u0437\u0430\u0434\u0430\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0443 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 <code class=\"CodeInlined\">.card<\/code>, \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0440\u0430\u043c\u043e\u043a \u043d\u0435 \u0438\u043c\u0435\u044e\u0442 \u2014 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u0442 \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043b\u0438\u043d\u0438\u0439.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e border \u0432 CSS \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u0434\u0430\u0442\u044c \u0440\u0430\u043c\u043a\u0443 \u0432\u043e\u043a\u0440\u0443\u0433 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u041e\u043d\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u0442\u0440\u0438 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438: \u0442\u043e\u043b\u0449\u0438\u043d\u0443 (border-width), \u0441\u0442\u0438\u043b\u044c (border-style) \u0438 \u0446\u0432\u0435\u0442 (border-color). \u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0438 \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0437\u0430\u043f\u0438\u0441\u0438 \u0421\u0430\u043c\u044b\u0439 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2014 \u0447\u0435\u0440\u0435\u0437 \u0441\u043e\u043a\u0440\u0430\u0449\u0451\u043d\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c: css selector { border: \u0442\u043e\u043b\u0449\u0438\u043d\u0430 \u0441\u0442\u0438\u043b\u044c \u0446\u0432\u0435\u0442; } \u041f\u0440\u0438\u043c\u0435\u0440: css .box { border: 2px solid red; } \u042d\u0442\u043e \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e \u0442\u0440\u0451\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c: css [&hellip;]<\/p>\n","protected":false},"author":9194254,"featured_media":135388,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[463],"tags":[],"class_list":["post-135387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript"],"views":15,"_links":{"self":[{"href":"https:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/135387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/users\/9194254"}],"replies":[{"embeddable":true,"href":"https:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=135387"}],"version-history":[{"count":1,"href":"https:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/135387\/revisions"}],"predecessor-version":[{"id":135389,"href":"https:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/135387\/revisions\/135389"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/media\/135388"}],"wp:attachment":[{"href":"https:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=135387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=135387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=135387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}