{"id":1209,"date":"2012-12-22T03:05:26","date_gmt":"2012-12-22T00:05:26","guid":{"rendered":"http:\/\/www.891rpm.arthead.ru\/?p=1209"},"modified":"2017-12-21T10:25:21","modified_gmt":"2017-12-21T07:25:21","slug":"%d0%b1%d0%b0%d0%b7%d0%be%d0%b2%d1%8b%d0%b5-%d1%81%d1%82%d0%b8%d0%bb%d0%b8-%d0%b8-%d0%bf%d0%be%d0%bb%d0%b5%d0%b7%d0%bd%d1%8b%d0%b5-css-%d1%81%d0%bd%d0%b8%d0%bf%d0%bf%d0%b5%d1%82%d1%8b","status":"publish","type":"post","link":"https:\/\/891rpm.com\/?p=1209","title":{"rendered":"\u0411\u0430\u0437\u043e\u0432\u044b\u0435 \u0441\u0442\u0438\u043b\u0438 \u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 CSS-\u0441\u043d\u0438\u043f\u043f\u0435\u0442\u044b"},"content":{"rendered":"<p><a href=\\\"\/\/891rpm.arthead.ru\/?attachment_id=1210\\\" rel=\\\"attachment wp-att-1210\\\"><img class=\\\"alignnone size-full wp-image-1210\\\" src=\\\"\/\/891rpm.arthead.ru\/wp-content\/uploads\/2012\/12\/6b42d35a44d89ccc7bfd12c089003c05.png\\\" alt=\\\"6b42d35a44d89ccc7bfd12c089003c05\\\" width=\\\"750\\\" height=\\\"315\\\" \/><\/a>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u00a0\u0438 \u00ab\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435\u00bb \u0441\u0442\u0438\u043b\u0438 \u0438 \u0441\u043d\u0438\u043f\u043f\u0435\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u0430\u0439\u0442\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u0441\u0442\u043a\u0443.<\/p>\n<p><strong>1. \u0411\u0430\u0437\u043e\u0432\u0430\u044f HTML5 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f<\/strong><\/p>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u0434 \u043b\u044e\u0431\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043c\u043d\u043e\u0433\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0443\u0434\u0435\u043b\u044f\u044e\u0442 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b jQuery 1.8.2 \u0438\u00a0<a href=\\\"http:\/\/code.google.com\/p\/html5shiv\/\\\">HTML5shiv<\/a>\u00a0\u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0430\u0440\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445.<\/p>\n<pre class=\\\"lang:xhtml decode:true\\\">&lt;!doctype html&gt;\r\n&lt;html lang=\\\"en-US\\\"&gt;\r\n&lt;head&gt;\r\n  &lt;meta http-equiv=\\\"Content-Type\\\" content=\\\"text\/html; charset=utf-8\\\"&gt;\r\n  &lt;title&gt;Default Page Title&lt;\/title&gt;\r\n  &lt;link rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\"&gt;\r\n  &lt;link rel=\\\"icon\\\" href=\\\"favicon.ico\\\"&gt;\r\n  &lt;link rel=\\\"stylesheet\\\" type=\\\"text\/css\\\" href=\\\"styles.css\\\"&gt;\r\n  &lt;script type=\\\"text\/javascript\\\" src=\\\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.8.1\/jquery.min.js\\\"&gt;&lt;\/script&gt;\r\n&lt;!--[if lt IE 9]&gt;\r\n  &lt;script src=\\\"http:\/\/html5shiv.googlecode.com\/svn\/trunk\/html5.js\\\"&gt;&lt;\/script&gt;\r\n&lt;![endif]--&gt;\r\n&lt;\/head&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<div>\n<p><strong>2. \u0421\u0431\u0440\u043e\u0441 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0441\u0442\u0438\u043b\u0435\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432<\/strong><\/p>\n<p>\u041e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u043a\u043e\u0434 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443. \u0421\u0431\u0440\u043e\u0441 \u0441\u0442\u0438\u043b\u0435\u0439 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c.<\/p>\n<pre class=\\\"\\\">html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {\r\n  margin: 0;\r\n  padding: 0;\r\n  border: 0;\r\n  font-size: 100%;\r\n  font: inherit;\r\n  vertical-align: baseline;\r\n  outline: none;\r\n}\r\nhtml { height: 101%; } \/* always display scrollbars *\/\r\nbody { font-size: 62.5%; line-height: 1; font-family: Arial, Tahoma, Verdana, sans-serif; }\r\n\r\narticle, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }\r\nol, ul { list-style: none; }\r\n\r\nblockquote, q { quotes: none; }\r\nblockquote:before, blockquote:after, q:before, q:after { content: \\'\\'; content: none; }\r\nstrong { font-weight: bold; } \r\n\r\ninput { outline: none; }\r\n\r\ntable { border-collapse: collapse; border-spacing: 0; }\r\nimg { border: 0; max-width: 100%; }\r\n\r\na { text-decoration: none; }\r\na:hover { text-decoration: underline; }<\/pre>\n<p><strong>3. CSS3 \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u044b<\/strong><\/p>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043d\u0438\u0436\u0435 \u043a\u043e\u0434 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043a\u0440\u043e\u0441\u0441\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c CSS-\u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u044b. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u043d\u0443\u0436\u043d\u044b\u0439 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u00a0<strong>rgba()<\/strong>\u00a0\u0434\u043b\u044f \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u0438.<\/p>\n<pre class=\\\"\\\">background-color: #000;\r\nfilter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\\'#bbb\\', endColorstr=\\'#000\\');\r\nbackground-image: -webkit-gradient(linear, left top, left bottom, from(#bbb), to(#000));\r\nbackground-image: -webkit-linear-gradient(top, #bbb, #000);\r\nbackground-image: -moz-linear-gradient(top, #bbb, #000);\r\nbackground-image: -ms-linear-gradient(top, #bbb, #000);\r\nbackground-image: -o-linear-gradient(top, #bbb, #000);\r\nbackground-image: linear-gradient(top, #bbb, #000);<\/pre>\n<p><strong>4.\u00a0CSS3 Transform<\/strong><\/p>\n<p>\u041d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0438\u0437-\u0437\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0432 \u0441\u0442\u0430\u0440\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445. \u041e\u0434\u043d\u0430\u043a\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0435. \u041c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c\u00a0<a href=\\\"http:\/\/cssnerd.com\/2012\/04\/10\/pure-css3-animated-tooltip\/\\\">\u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438<\/a>\u00a0\u0438\u043b\u0438\u00a0<a href=\\\"http:\/\/www.css3shapes.com\/\\\">\u0444\u0438\u0433\u0443\u0440\u044b<\/a>.<\/p>\n<pre class=\\\"\\\">-webkit-transform: perspective(250) rotateX(45deg);\r\n-moz-transform: perspective(250) rotateX(45deg);\r\n-ms-transform: perspective(250) rotateX(45deg);\r\n-o-transform: perspective(250) rotateX(45deg);\r\ntransform: perspective(250) rotateX(45deg);<\/pre>\n<p><strong>5. \u0421\u0432\u043e\u0439\u00a0@font-face<\/strong><\/p>\n<p>\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0448\u0440\u0438\u0444\u0442\u044b \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443. \u0414\u043b\u044f \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441\u00a0<a href=\\\"http:\/\/www.font2web.com\/\\\">Font2Web<\/a>.<\/p>\n<pre class=\\\"\\\">@font-face{ \r\n  font-family: \\'MyFont\\';\r\n  src: url(\\'myfont.eot\\');\r\n  src: url(\\'myfont.eot?#iefix\\') format(\\'embedded-opentype\\'),\r\n    url(\\'myfont.woff\\') format(\\'woff\\'),\r\n    url(\\'myfont.ttf\\') format(\\'truetype\\'),\r\n    url(\\'myfont.svg#webfont\\') format(\\'svg\\');\r\n}\r\n\r\nh1 { font-family: \\'MyFont\\', sans-serif; }<\/pre>\n<p><strong>6. \u00a0\u041c\u0435\u0442\u0430-\u0442\u0435\u0433\u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0442\u043a\u0438<\/strong><\/p>\n<p>\u0412\u0430\u0436\u043d\u044b\u0435 \u043c\u0435\u0442\u0430-\u0442\u0435\u0433\u0438 \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043c\u0430\u043a\u0435\u0442\u0430<\/p>\n<pre class=\\\"lang:xhtml decode:true \\\">&lt;meta name=\\\"viewport\\\" content=\\\"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no\\\"&gt;\r\n&lt;meta http-equiv=\\\"X-UA-Compatible\\\" content=\\\"IE=edge,chrome=1\\\"&gt;\r\n&lt;meta name=\\\"HandheldFriendly\\\" content=\\\"true\\\"&gt;<\/pre>\n<p><strong>7. HTML5-\u043c\u0435\u0434\u0438\u0430<\/strong> \u041a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e \u0434\u043b\u044f \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u0435\u0434\u0438\u0430-\u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 (\u0443\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u0435\u043b \u0432 \u00abs ource\u00bb)<\/p>\n<pre class=\\\"lang:xhtml decode:true \\\">&lt;video poster=\\\"images\/preview.png\\\" width=\\\"1280\\\" height=\\\"720\\\" controls=\\\"controls\\\" preload=\\\"none\\\"&gt; \r\n  &lt;s_ource src=\\\"media\/video.mp4\\\" type=\\\"video\/mp4\\\"&gt;&lt;\/s_ource&gt; \r\n  &lt;s_ource src=\\\"media\/video.webm\\\" type=\\\"video\/webm\\\"&gt;&lt;\/s_ource&gt; \r\n  &lt;s_ource src=\\\"media\/video.ogg\\\" type=\\\"video\/ogg\\\"&gt;&lt;\/s_ource&gt;\r\n&lt;\/video&gt;\r\n&lt;audio controls=\\\"controls\\\" preload=\\\"none\\\"&gt;\r\n  &lt;s_ource src=\\\"music.ogg\\\" type=\\\"audio\/ogg\\\"&gt;&lt;\/s_ource&gt;\r\n  &lt;s_ource src=\\\"music.mp3\\\" type=\\\"audio\/mpeg\\\"&gt;&lt;\/s_ource&gt;\r\n&lt;\/audio&gt;<\/pre>\n<p><strong>8. \u00a0\u041a\u043b\u0430\u0441\u0441\u044b \u0434\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0432\u0435\u0440\u0441\u0442\u043a\u0438<\/strong><\/p>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u043d\u0438\u043f\u043f\u0435\u0442\u044b \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043f\u0440\u0438 \u0432\u0435\u0440\u0441\u0442\u043a\u0435. \u0422\u0435\u0445\u043d\u0438\u043a\u0430 \u0448\u0438\u0440\u043e\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 CSS-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u0445. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u043c float:<\/p>\n<pre class=\\\"\\\">.float-left \/* Or whatever name you like *\/ {\r\n    float: left;\r\n}\r\n\r\n.float-right \/* Or whatever name you like *\/ {\r\n    float: right;\r\n}<\/pre>\n<p>\u0418\u043b\u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432:<\/p>\n<pre class=\\\"\\\">.hide {\r\n    display: none;\r\n}\r\n\r\n.show {\r\n    display: block;\r\n}<\/pre>\n<p><strong>9. \u0421\u043d\u0438\u043f\u043f\u0435\u0442\u044b \u0434\u0438\u0437\u0430\u0439\u043d\u0430<\/strong><\/p>\n<p>\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0443\u043f\u0440\u043e\u0449\u0430\u0442\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442. \u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440: \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0432 CSS-\u0444\u0430\u0439\u043b\u0435 \u0441\u0442\u0438\u043b\u0435\u0439 \u0448\u0440\u0438\u0444\u0442\u043e\u0432 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043c\u0435\u0441\u0442\u0430 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435, \u0433\u0434\u0435 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u0442\u0435\u043d\u0442. \u042d\u0442\u0430, \u0432\u0440\u043e\u0434\u0435 \u0431\u044b \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0442\u0435\u0445\u043d\u0438\u043a\u0430, \u0447\u0430\u0441\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438.<\/p>\n<pre class=\\\"\\\">.content {\r\n    font: 1em\/1.4 Segoe, \\\"Segoe UI\\\", \\\"Helvetica Neue\\\", Arial, sans-serif;\r\n}\r\n\r\n.title {\r\n    font: 1.7em\/1.2 Baskerville, \\\"Baskerville old face\\\", \\\"Hoefler Text\\\", Garamond, \\\"Times New Roman\\\", serif;\r\n}\r\n\r\n.code {\r\n    font: 0.8em\/1.6 Monaco, Mono-Space, monospace;\r\n}<\/pre>\n<p><strong>10. \u0421\u043d\u0438\u043f\u043f\u0435\u0442\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438<\/strong><\/p>\n<p>\u0421\u043d\u0438\u043f\u043f\u0435\u0442\u044b, \u043f\u043e\u043c\u043e\u0433\u0430\u044e\u0449\u0438\u0435 \u0431\u043e\u043b\u0435\u0435 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u0441\u0442\u043a\u0443 \u0441\u0430\u0439\u0442\u0430. \u0412\u043e\u0442 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0448\u0438\u0440\u0438\u043d\u0443 \u043a\u0430\u043a\u043e\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0431\u043b\u043e\u043a\u0430:<\/p>\n<pre class=\\\"\\\">*, *:before, *:after {\r\n    -webkit-box-sizing: border-box;\r\n    -moz-box-sizing: border-box;\r\n    box-sizing: border-box;\r\n}<\/pre>\n<p>\u0415\u0449\u0435 \u043e\u0434\u0438\u043d \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u00a0\u2014 \u044d\u0442\u043e clearfix, \u043f\u043e\u043c\u043e\u0433\u0430\u044e\u0449\u0438\u0439 \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u043d\u0435\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0439 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0432\u0435\u0440\u0441\u0442\u043a\u0438 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445:<\/p>\n<pre class=\\\"\\\">.clearfix:before,\r\n.clearfix:after {\r\n    content: \\\" \\\";\r\n    display: table;\r\n}\r\n\r\n.clearfix:after {\r\n    clear: both;\r\n}\r\n\r\n\/* IE6\/7 support *\/\r\n.clearfix {\r\n    *zoom: 1;\r\n}<\/pre>\n<p>\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u0434\u043b\u0438\u043d\u043d\u044b\u0435 URL \u043c\u043e\u0433\u0443\u0442 \u043b\u043e\u043c\u0430\u0442\u044c \u0432\u0435\u0440\u0441\u0442\u043a\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u0427\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u044d\u0442\u043e\u0433\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u043d\u0438\u043f\u043f\u0435\u0442 (\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435\u00a0<a href=\\\"http:\/\/css-tricks.com\/snippets\/css\/prevent-long-urls-from-breaking-out-of-container\/\\\">\u043d\u0430 css-tricks.com<\/a>), \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 Opera \u0438 IE \u043d\u0438\u0436\u0435 \u0432\u043e\u0441\u044c\u043c\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438:<\/p>\n<pre class=\\\"\\\">.break {\r\n    -ms-word-break: break-all;\r\n    word-break: break-all;\r\n\r\n    word-break: break-word;\r\n\r\n    -webkit-hyphens: auto;\r\n    -moz-hyphens: auto;\r\n    hyphens: auto;\r\n}\r\n\r\n.ellipsis {\r\n    width: 250px;\r\n    white-space: nowrap;\r\n    overflow: hidden;\r\n    -ms-text-overflow: ellipsis; \/* Required for IE8 *\/\r\n    -o-text-overflow: ellipsis; \/* Required for Opera *\/\r\n    text-overflow: ellipsis;\r\n}<\/pre>\n<p>\u041f\u0435\u0440\u0435\u043d\u043e\u0441\u044b \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 \u0442\u0435\u0433\u0435\u00a0<strong>pre<\/strong>:<\/p>\n<pre class=\\\"\\\">pre {\r\n    white-space: pre-wrap;       \/* Chrome amp; Safari *\/\r\n    white-space: -moz-pre-wrap;  \/* Mozilla since 1999 *\/\r\n    white-space: -pre-wrap;      \/* Opera 4-6 *\/\r\n    white-space: -o-pre-wrap;    \/* Opera 7 *\/\r\n    word-wrap: break-word;       \/* Internet Explorer 5.5+ *\/\r\n}<\/pre>\n<p><strong>11. \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0434\u043b\u044f \u043f\u0435\u0447\u0430\u0442\u0438<\/strong><\/p>\n<p>\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 \u0447\u0435\u0440\u043d\u043e-\u0431\u0435\u043b\u044b\u0435 \u0446\u0432\u0435\u0442\u0430, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u044f \u0443 \u0441\u0441\u044b\u043b\u043e\u043a, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 URL \u0440\u044f\u0434\u043e\u043c \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445:<\/p>\n<pre class=\\\"\\\">@media print {\r\n    * {\r\n        background: none !important;\r\n        color: black !important;\r\n        box-shadow: none !important;\r\n        text-shadow: none !important;\r\n\r\n        \/* Images, vectors and such *\/\r\n        filter: Gray();                          \/* IE4-8: depreciated *\/\r\n        filter: url(\\'desaturate.svg#grayscale\\'); \/* SVG version for IE10, Firefox, Safari 5 and Opera *\/\r\n        -webkit-filter: grayscale(100%);         \/* Chrome + Safari 6 *\/\r\n        -moz-filter: grayscale(100%);            \/* Future proof *\/\r\n        -ms-filter: grayscale(100%);             \/* Future proof *\/\r\n        -o-filter: grayscale(100%);              \/* Future proof *\/\r\n        filter: grayscale(100%);                 \/* Future proof or polyfilled *\/\r\n    }\r\n\r\n    a {\r\n        text-decoration: underline;\r\n    }\r\n\r\n    a[href]:after {\r\n        content: \\\" (\\\" attr(href) \\\")\\\"; \r\n    }\r\n\r\n    a[href=\\\"#\\\"],\r\n    a[href=\\\"javascript:\\\"] {\r\n        content: \\\"\\\";\r\n    }\r\n}<\/pre>\n<pre class=\\\"lang:xhtml decode:true \\\">&lt;!-- SVG version of grayscale filter: desaturate.svg --&gt;\r\n&lt;svg version=\\\"1.1\\\" xmlns=\\\"http:\/\/www.w3.org\/2000\/svg\\\"&gt;\r\n    &lt;filter id=\\\"grayscale\\\"&gt;\r\n        &lt;feColorMatrix type=\\\"matrix\\\" values=\\\"0.3333 0.3333 0.3333 0 0\r\n            0.3333 0.3333 0.3333 0 0\r\n            0.3333 0.3333 0.3333 0 0\r\n            0  0  0  1 0\\\"\/&gt;\r\n    &lt;\/filter&gt;\r\n&lt;\/svg&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b:<\/p>\n<ul>\n<li><a href=\\\"http:\/\/webdesignledger.com\/tips\/8-code-snippets-templates-for-new-website-projects\\\">8 Code Snippets for New Website Projects<\/a><\/li>\n<li><a href=\\\"http:\/\/tympanus.net\/codrops\/2012\/10\/25\/kick-start-your-project-a-collection-of-handy-css-snippets\/#article-section-designrelated\\\">Kick-Start Your Project: A Collection of Handy CSS Snippets<\/a><\/li>\n<li><a href=\\\"http:\/\/css-tricks.com\/\\\">\u0421\u0430\u0439\u0442 CSS-Tricks<\/a><\/li>\n<\/ul>\n<p><a href=\\\"http:\/\/habrahabr.ru\/post\/159101\/#habracut\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\">\u0412\u0437\u044f\u0442\u043e \u0441 \u0425\u0430\u0431\u0440\u0430<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u00a0\u0438 \u00ab\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435\u00bb \u0441\u0442\u0438\u043b\u0438 \u0438 \u0441\u043d\u0438\u043f\u043f\u0435\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u0430\u0439\u0442\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u0441\u0442\u043a\u0443. 1. \u0411\u0430\u0437\u043e\u0432\u0430\u044f HTML5 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u0434 \u043b\u044e\u0431\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043c\u043d\u043e\u0433\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0443\u0434\u0435\u043b\u044f\u044e\u0442 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b jQuery 1.8.2 \u0438\u00a0HTML5shiv\u00a0\u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0430\u0440\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445. &lt;!doctype html&gt; &lt;html lang=\\&#8221;en-US\\&#8221;&gt; &lt;head&gt; &lt;meta http-equiv=\\&#8221;Content-Type\\&#8221; content=\\&#8221;text\/html; charset=utf-8\\&#8221;&gt; &lt;title&gt;Default Page Title&lt;\/title&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[109,110,236,237,279,483],"class_list":["post-1209","post","type-post","status-publish","format-standard","hentry","category-tech-articles","tag-css","tag-css3","tag-html5","tag-html5shiv","tag-jquery","tag-snippets"],"_links":{"self":[{"href":"https:\/\/891rpm.com\/index.php?rest_route=\/wp\/v2\/posts\/1209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/891rpm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/891rpm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/891rpm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/891rpm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1209"}],"version-history":[{"count":0,"href":"https:\/\/891rpm.com\/index.php?rest_route=\/wp\/v2\/posts\/1209\/revisions"}],"wp:attachment":[{"href":"https:\/\/891rpm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/891rpm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/891rpm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}