{"id":1359,"date":"2020-08-14T14:16:54","date_gmt":"2020-08-14T14:16:54","guid":{"rendered":"https:\/\/lvboard.infostore.in.ua\/?p=1359"},"modified":"2020-08-14T16:24:30","modified_gmt":"2020-08-14T16:24:30","slug":"8-%d1%80%d0%b5%d0%ba%d0%be%d0%bc%d0%b5%d0%bd%d0%b4%d0%b0%d1%86%d0%b8%d0%b9-scss-%d0%be-%d0%ba%d0%be%d1%82%d0%be%d1%80%d1%8b%d1%85-%d1%81%d0%bb%d0%b5%d0%b4%d1%83%d0%b5%d1%82-%d0%bf%d0%be%d0%bc%d0%bd","status":"publish","type":"post","link":"https:\/\/lvboard.infostore.in.ua\/?p=1359","title":{"rendered":"8 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0439 SCSS, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c"},"content":{"rendered":"\n<p>\u041d\u0430 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u044f\u0449\u0438\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u044b \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0433\u0434\u0435 \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u044f \u043d\u0430\u0448\u043b\u0430 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b, \u043d\u043e \u0438 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u0412\u043e\u0442 \u0432\u043e\u0441\u0435\u043c\u044c \u043b\u0443\u0447\u0448\u0438\u0445 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0439 SCSS \u0438\u0437 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043c\u0435\u043d\u044f \u043f\u0435\u0440\u0435\u043e\u0441\u043c\u044b\u0441\u043b\u0438\u0442\u044c \u0442\u043e, \u043a\u0430\u043a \u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u0443\u044e \u0441\u0432\u043e\u0439 \u043a\u043e\u0434 CSS:<\/p>\n\n\n\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u043e\u0432\u0435\u0442\u044b \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b \u0434\u043b\u044f SCSS, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043c\u043e\u0433\u0443\u0442 \u043d\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u044c\u0441\u044f \u043a \u0447\u0438\u0441\u0442\u043e\u043c\u0443 CSS. \u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e @yzoja \u0438 @ 8detect \u0437\u0430 \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0435 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u0435!<\/em><\/p>\n\n\n\n<h2>1. Mobile First<\/h2>\n\n\n\n<p>\u041a\u043e\u0433\u0434\u0430 \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0435, \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u044b \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0447\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0438\u0434\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0434\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0431\u043e\u043b\u0435\u0437\u043d\u0435\u043d\u043d\u044b\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0434\u0438\u0437\u0430\u0439\u043d \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u044f \u0435\u0433\u043e, \u0430 \u043d\u0435 \u0432\u0442\u0438\u0441\u043a\u0438\u0432\u0430\u0442\u044c \u0432\u0435\u0449\u0438, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0438\u0437\u0430\u0439\u043d\u0430<\/p>\n\n\n\n<p>\u041d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u043a:<strong>.bad<\/strong><strong>{<\/strong> \/\/ Desktop code @media <strong>(<\/strong>max-width: 768px<strong>)<\/strong><strong>{<\/strong> \/\/ Mobile code <strong>}<\/strong><strong>}<\/strong><\/p>\n\n\n\n<p>\u041b\u0443\u0447\u0448\u0435 \u0442\u0430\u043a:<strong>.good<\/strong><strong>{<\/strong> \/\/ Mobile code @media <strong>(<\/strong>min-width: 768px<strong>)<\/strong><strong>{<\/strong> \/\/ Desktop code <strong>}<\/strong><strong>}<\/strong><\/p>\n\n\n\n<h2>2. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435<\/h2>\n\n\n\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0432 CSS \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0438 \u043c\u0438\u043a\u0441\u0438\u043d\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0447\u0430\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0438 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 \u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u0434\u043b\u044f \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0435\u043d\u0438\u044f.<\/p>\n\n\n\n<p>\u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0443, \u0432\u043e\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0431\u0449\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u0438\u0433\u0440\u0430\u044e\u0442 \u043e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043d\u0438\u0445 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445:<\/p>\n\n\n\n<ul><li><code>border-radius<\/code><\/li><li><code>color<\/code><\/li><li><code>font-family<\/code><\/li><li><code>font-weight<\/code><\/li><li><code>margin<\/code>&nbsp;(gutters, grid gutters)<\/li><li><code>transition<\/code>&nbsp;(duration, easing) \u2013 consider a mixin<\/li><\/ul>\n\n\n\n<h2>3. \u0418\u0437\u0431\u0435\u0433\u0430\u0439\u0442\u0435&nbsp;<code>#id<\/code>&nbsp;\u0438&nbsp;<code>!important<\/code><\/h2>\n\n\n\n<p>\u041e\u0431\u0430 !important \u0438 #id \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u043c\u0438 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430\u043c\u0438 \u0438 \u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u0440\u0443\u0448\u0430\u0442\u044c \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0430 CSS, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u0440\u0438 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435.<\/p>\n\n\n\n<p>\u041d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u043a:<strong>#bad<\/strong><strong>{<\/strong><strong>#worse<\/strong><strong>{<\/strong> background-color: <em>#000<\/em>; <strong>}<\/strong><strong>}<\/strong><\/p>\n\n\n\n<p>\u041b\u0443\u0447\u0448\u0435 \u0442\u0430\u043a:<strong>.good<\/strong><strong>{<\/strong><strong>.better<\/strong><strong>{<\/strong> background-color: rgb<strong>(<\/strong>0, 0, 0<strong>)<\/strong>; <strong>}<\/strong><strong>}<\/strong><\/p>\n\n\n\n<h2>4. \u0418\u0437\u0431\u0435\u0433\u0430\u0439\u0442\u0435 \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0447\u0438\u0441\u0435\u043b<\/h2>\n\n\n\n<p>\u0421\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d\u0438 \u00ab\u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442\u00bb; \u0434\u0440\u0443\u0433\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u043f\u043e\u0447\u0435\u043c\u0443 \u0434\u043b\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0432\u044b\u0431\u0440\u0430\u043d\u043e \u0442\u0430\u043a\u043e\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e.<\/p>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0443 CSS Tricks \u0435\u0441\u0442\u044c \u0447\u0435\u0442\u043a\u043e\u0435&nbsp;<a href=\"https:\/\/css-tricks.com\/magic-numbers-in-css\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435<\/a>&nbsp;\u0442\u043e\u0433\u043e, \u043f\u043e\u0447\u0435\u043c\u0443 \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0447\u0438\u0441\u043b\u0430 \u043f\u043b\u043e\u0445\u0438\u0435.<\/p>\n\n\n\n<p>\u041d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u043a:<strong>.bad<\/strong><strong>{<\/strong> left: 20px;<strong>}<\/strong><\/p>\n\n\n\n<p>\u041b\u0443\u0447\u0448\u0435 \u0442\u0430\u043a:<strong>.good<\/strong><strong>{<\/strong> \/\/ 20px \u0438\u0437-\u0437\u0430 \u0432\u044b\u0441\u043e\u0442\u044b \u0448\u0440\u0438\u0444\u0442\u0430 left: <strong>(<\/strong>$GUTTER &#8211; 20px &#8211; <strong>(<\/strong>$NAV_HEIGHT \/ 2<strong>))<\/strong>;<strong>}<\/strong><\/p>\n\n\n\n<h2>5. \u041e\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435<\/h2>\n\n\n\n<p>\u041b\u0435\u0433\u043a\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c CSS-\u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u044b \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0432\u0438\u0434\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0430 \u043d\u043e \u043b\u0443\u0447\u0448\u0435 \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044e.<\/p>\n\n\n\n<p>\u041d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u043a:<strong>.huge-font<\/strong><strong>{<\/strong> font-family: &#8216;Impact&#8217;, sans-serif;<strong>}<\/strong><strong>.blue<\/strong><strong>{<\/strong> color: $COLOR_BLUE;<strong>}<\/strong><\/p>\n\n\n\n<p>\u041b\u0443\u0447\u0448\u0435 \u0442\u0430\u043a:<\/p>\n\n\n\n<figure><iframe loading=\"lazy\" width=\"770\" height=\"193\" src=\"https:\/\/googleads.g.doubleclick.net\/pagead\/ads?client=ca-pub-1844293074404584&amp;output=html&amp;h=193&amp;slotname=4373911048&amp;adk=2434741567&amp;adf=3469158244&amp;w=770&amp;fwrn=4&amp;lmt=1597414572&amp;rafmt=11&amp;psa=1&amp;guci=2.2.0.0.2.2.0.0&amp;format=770x193&amp;url=https%3A%2F%2Fwebdevblog.ru%2F8-rekomendacij-scss-o-kotoryh-sleduet-pomnit%2F%3Ffbclid%3DIwAR1FnMKSG_bm9gBVYrTBBL0PBwSiSfNpBEzQYquOi3BcRP8bvaJ8vjipla8&amp;flash=0&amp;wgl=1&amp;adsid=ChEI8OzY-QUQttnk-63ki5WFARJMABK8yDsjPO_Mon1tjhHqtnBYfOi9lQdacgsIpgwMz837Sq1XVMH9BMugKDAlqwFIdKVb8B9qrA9rNHucFttABeOx6FssqjQ_w2utFg&amp;dt=1597414539272&amp;bpp=72&amp;bdt=1266&amp;idt=875&amp;shv=r20200810&amp;cbv=r20190131&amp;ptt=9&amp;saldr=aa&amp;abxe=1&amp;cookie=ID%3D6e300505a2177d7e%3AT%3D1597414539%3AS%3DALNI_MbFzeQ_Qqz7Djtwo5WYpwqsz9170A&amp;prev_fmts=310x250%2C0x0%2C300x600&amp;nras=1&amp;correlator=5632129195853&amp;frm=20&amp;pv=1&amp;ga_vid=339412166.1597414540&amp;ga_sid=1597414540&amp;ga_hid=84765646&amp;ga_fc=0&amp;iag=0&amp;icsg=4477257250766847&amp;dssz=57&amp;mdo=0&amp;mso=0&amp;rplot=4&amp;u_tz=180&amp;u_his=1&amp;u_java=0&amp;u_h=768&amp;u_w=1366&amp;u_ah=728&amp;u_aw=1366&amp;u_cd=24&amp;u_nplug=3&amp;u_nmime=4&amp;adx=120&amp;ady=4086&amp;biw=1349&amp;bih=625&amp;scr_x=0&amp;scr_y=1635&amp;eid=44724797%2C42530557%2C42530559%2C21066125%2C21066623%2C21066920&amp;oid=3&amp;psts=AGkb-H9bH6mPZpH1wgHam4qys-gTXbFFwwXdTzFidB97A1SvUfEJAu9adEGvIxAiK_6a%2CAGkb-H8ax5tGbsTtx7vJkWqMIcwpTnUM1wrIKojbBHLLuOWYQ0yDlfjoHf46wXmflMcu&amp;pvsid=2539734788196236&amp;pem=583&amp;ref=https%3A%2F%2Fl.facebook.com%2F&amp;rx=0&amp;eae=0&amp;fc=896&amp;brdim=0%2C0%2C0%2C0%2C1366%2C0%2C1366%2C728%2C1366%2C625&amp;vis=1&amp;rsz=%7C%7CeEbr%7C&amp;abl=CS&amp;pfx=0&amp;fu=8320&amp;bc=31&amp;jar=2020-7-30-15&amp;ifi=1&amp;uci=a!1&amp;btvi=2&amp;fsb=1&amp;xpc=n3cqD76ZzQ&amp;p=https%3A\/\/webdevblog.ru&amp;dtd=33442\" allowfullscreen=\"true\"><\/iframe><\/figure>\n\n\n\n<p><ins><\/ins><strong>.brand__title<\/strong><strong>{<\/strong> font-family: &#8216;Impact&#8217;, serif;<strong>}<\/strong><strong>.u-highlight<\/strong><strong>{<\/strong> color: $COLOR_BLUE;<strong>}<\/strong><\/p>\n\n\n\n<h2>6. \u041d\u0443\u043b\u0435\u0432\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438 \u0435\u0434\u0438\u043d\u0438\u0446\u044b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f<\/h2>\n\n\n\n<p>\u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0432\u0438\u0441\u0435\u0442\u044c \u043e\u0442 \u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0439 \u0438\u043b\u0438 \u043e\u0442 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u043f\u043e \u0441\u0442\u0438\u043b\u044e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043d\u043e \u0441\u043e\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u044f \u0435\u0434\u0438\u043d\u043e\u0433\u043e \u0441\u0442\u0438\u043b\u044f \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e. \u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0435 \u043d\u0438\u0436\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043e\u0436\u0438\u0434\u0430\u0435\u0442, \u0447\u0442\u043e\u0431\u044b \u0432\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u0435\u0434\u0438\u043d\u0438\u0446\u044b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043d\u0443\u043b\u0435\u0432\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043d\u043e \u043d\u0435 \u0434\u043b\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043d\u0443\u043b\u0435\u0432\u043e\u0439 \u0434\u043b\u0438\u043d\u044b (margin: 0;). \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u043d\u043e\u043b\u044c \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0434\u043b\u044f \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u044b\u0445 \u0437\u043d\u0430\u043a\u043e\u0432, \u0438 \u043d\u0435 \u043f\u0435\u0440\u0435\u0443\u0441\u0435\u0440\u0434\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u043d\u0430 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u044b\u0445 \u0437\u043d\u0430\u043a\u0430\u0445.<\/p>\n\n\n\n<p>\u041d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u0435:.not-so-good <strong>{<\/strong> animation-delay: 0; margin: 0px; opacity: .4567;<strong>}<\/strong><\/p>\n\n\n\n<p>\u041b\u0443\u0447\u0448\u0435 \u0442\u0430\u043a:.better <strong>{<\/strong> animation-delay: 0s; margin: 0; opacity: 0.4;<strong>}<\/strong><\/p>\n\n\n\n<h2>7. \u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h2>\n\n\n\n<p>\u041b\u0443\u0447\u0448\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u0437\u0434\u0435\u0441\u044c \u2014 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0435. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 (\/\/) \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0431\u043b\u043e\u043a\u043e\u0432 (\/ * * \/), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n\n\n\n<p>\u041d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u043a:<strong>.bad<\/strong><strong>{<\/strong> background-color: red; \/\/ Not commenting on top of property \/* padding-top: 30px; width: 100% *\/<strong>}<\/strong><\/p>\n\n\n\n<p>\u041b\u0443\u0447\u0448\u0435 \u0442\u0430\u043a:<strong>.good<\/strong><strong>{<\/strong> \/\/ Commenting on top of property background-color: red; \/\/ padding-top: 30px; \/\/ width: 100%;<strong>}<\/strong><\/p>\n\n\n\n<h2>8. \u0412\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043c\u0435\u0434\u0438\u0430-\u0437\u0430\u043f\u0440\u043e\u0441\u044b<\/h2>\n\n\n\n<p>\u0427\u0442\u043e\u0431\u044b \u043b\u0435\u0433\u043a\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043c\u0435\u0434\u0438\u0430-\u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043c\u0435\u0434\u0438\u0430-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432 \u043a\u043e\u0440\u043d\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f, \u0430 \u043d\u0435 \u0432\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440.<\/p>\n\n\n\n<p>\u041d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u043a:<strong>.bad<\/strong><strong>{<\/strong> &amp;__area <strong>{<\/strong> \/\/ Code @media <strong>(<\/strong>min-width: 568px<strong>)<\/strong><strong>{<\/strong> \/\/ Code <strong>}<\/strong><strong>}<\/strong> &amp;__section <strong>{<\/strong> \/\/ Code @media <strong>(<\/strong>min-width: 568px<strong>)<\/strong><strong>{<\/strong> \/\/ Code <strong>}<\/strong><strong>}<\/strong><strong>}<\/strong><\/p>\n\n\n\n<p>\u041b\u0443\u0447\u0448\u0435 \u0442\u0430\u043a:<strong>.good<\/strong><strong>{<\/strong> &amp;__area <strong>{<\/strong> \/\/ Code <strong>}<\/strong> &amp;__section <strong>{<\/strong> \/\/ Code <strong>}<\/strong> @media (min-width: 568px) <strong>{<\/strong> &amp;__area <strong>{<\/strong> \/\/ Code <strong>}<\/strong> &amp;__section <strong>{<\/strong> \/\/ Code <strong>}<\/strong><strong>}<\/strong><strong>}<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u042d\u0442\u043e \u043d\u0438 \u0432 \u043a\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u0438\u0441\u0447\u0435\u0440\u043f\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043b\u0443\u0447\u0448\u0438\u0445 \u043f\u0440\u0430\u043a\u0442\u0438\u043a \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043d\u043e \u043e\u043d\u0438, \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, \u0438\u0433\u0440\u0430\u044e\u0442 \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u043e \u0432\u0430\u0436\u043d\u0443\u044e \u0440\u043e\u043b\u044c \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0443\u0434\u043e\u0431\u043e\u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0445, \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0415\u0441\u0442\u044c \u043b\u0438 \u043a\u0430\u043a\u043e\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e CSS, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0432\u044b \u0441\u043b\u0435\u0434\u0443\u0435\u0442\u0435 \u043a\u0430\u043a \u0441\u0432\u043e\u0435\u0439 \u0441\u0435\u0432\u0435\u0440\u043d\u043e\u0439 \u0437\u0432\u0435\u0437\u0434\u0435? \u0414\u0430\u0439 \u043c\u043d\u0435 \u0437\u043d\u0430\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 (\u0411\u043b\u043e\u0433 \u0430\u0432\u0442\u043e\u0440\u0430&nbsp;<a href=\"https:\/\/dev.to\/liaowow\/8-css-best-practices-to-keep-in-mind-4n5h\" target=\"_blank\" rel=\"noreferrer noopener\">\u0441\u0442\u0430\u0442\u044c\u0438<\/a>)!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u044f\u0449\u0438\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u044b \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0433\u0434\u0435 \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u044f \u043d\u0430\u0448\u043b\u0430 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b, \u043d\u043e \u0438 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[30],"tags":[108],"_links":{"self":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts\/1359"}],"collection":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1359"}],"version-history":[{"count":2,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts\/1359\/revisions"}],"predecessor-version":[{"id":1396,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts\/1359\/revisions\/1396"}],"wp:attachment":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}