{"id":178,"date":"2023-03-05T19:36:43","date_gmt":"2023-03-05T16:36:43","guid":{"rendered":"https:\/\/notes.profidev.online\/?p=178"},"modified":"2023-03-27T14:32:12","modified_gmt":"2023-03-27T11:32:12","slug":"header","status":"publish","type":"post","link":"https:\/\/notes.profidev.online\/ru\/headermenu\/178\/","title":{"rendered":"Header"},"content":{"rendered":"<figure class=\"wp-block-video\"><video height=\"667\" style=\"aspect-ratio: 1385 \/ 667;\" width=\"1385\" controls src=\"https:\/\/notes.profidev.online\/wp-content\/uploads\/2023\/03\/vokoscreenng-2023-03-05_17-03-11.webm\"><\/video><\/figure>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;HTML&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;html&quot;}\">&lt;nav class=&quot;nav&quot;&gt;\n  &lt;input type=&quot;checkbox&quot; class=&quot;nav__cb&quot; id=&quot;menu-cb&quot;\/&gt;\n  &lt;div class=&quot;nav__content&quot;&gt;\n    &lt;ul class=&quot;nav__items&quot;&gt;\n      &lt;li class=&quot;nav__item&quot;&gt;\n        &lt;span class=&quot;nav__item-text&quot;&gt;\n          \u0414\u043e\u043c\u043e\u0439\n        &lt;\/span&gt;\n      &lt;\/li&gt;\n      &lt;li class=&quot;nav__item&quot;&gt;\n        &lt;span class=&quot;nav__item-text&quot;&gt;\n          \u0420\u0430\u0431\u043e\u0442\u044b\n        &lt;\/span&gt;\n      &lt;\/li&gt;\n      &lt;li class=&quot;nav__item&quot;&gt;\n        &lt;span class=&quot;nav__item-text&quot;&gt;\n          \u041e \u043d\u0430\u0441\n        &lt;\/span&gt;\n      &lt;\/li&gt;\n      &lt;li class=&quot;nav__item&quot;&gt;\n        &lt;span class=&quot;nav__item-text&quot;&gt;\n          \u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b\n        &lt;\/span&gt;\n      &lt;\/li&gt;\n    &lt;\/ul&gt;\n  &lt;\/div&gt;\n  &lt;label class=&quot;nav__btn&quot; for=&quot;menu-cb&quot;&gt;&lt;\/label&gt;\n&lt;\/nav&gt;\n\n\/\/\u0410\u0432\u0442\u043e\u0440: Nikolay Talanov\n@suez<\/pre><\/div>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;css&quot;,&quot;mime&quot;:&quot;text\/css&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;CSS&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;css&quot;}\">*,\n*:before,\n*:after {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n}\n\nhtml,\nbody {\n  height: 100%;\n}\n\nbody:before, body:after {\n  content: &quot;&quot;;\n  display: block;\n  height: 50%;\n  background: #00bdea;\n}\nbody:after {\n  background: #208ff9;\n}\n\n\/* MAIN VARIABLES FOR CUSTOMIZATION *\/\n\/* -------------------------------- *\/\n.nav {\n  overflow: hidden;\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  width: auto;\n  height: 90px;\n  margin-top: -45px;\n  background: #fff;\n  border-radius: 5px;\n  transform: translate3d(-50%, 0, 0);\n  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);\n}\n.nav__cb {\n  z-index: -1000;\n  position: absolute;\n  left: 0;\n  top: 0;\n  opacity: 0;\n  pointer-events: none;\n}\n.nav__content {\n  position: relative;\n  width: 90px;\n  height: 100%;\n  transition: width 1s cubic-bezier(0.49, -0.3, 0.68, 1.23);\n}\n.nav__cb:checked ~ .nav__content {\n  transition: width 1s cubic-bezier(0.48, 0.43, 0.29, 1.3);\n  width: 410px;\n}\n.nav__items {\n  position: relative;\n  width: 410px;\n  height: 100%;\n  padding-left: 20px;\n  padding-right: 110px;\n  list-style-type: none;\n  font-size: 0;\n}\n.nav__item {\n  display: inline-block;\n  vertical-align: top;\n  width: 70px;\n  text-align: center;\n  color: #6c7784;\n  font-size: 14px;\n  line-height: 90px;\n  font-family: Helvetica, Arial, sans-serif;\n  font-weight: bold;\n  perspective: 1000px;\n  transition: color 0.3s;\n  cursor: pointer;\n}\n.nav__item:hover {\n  color: #00bdea;\n}\n.nav__item-text {\n  display: block;\n  height: 100%;\n  transform: rotateY(-70deg);\n  opacity: 0;\n  transition: transform 0.7s cubic-bezier(0.48, 0.43, 0.7, 2.5), opacity 0.7s;\n}\n.nav__cb:checked ~ .nav__content .nav__item-text {\n  transform: rotateY(0);\n  opacity: 1;\n  transition: transform 0.7s cubic-bezier(0.48, 0.43, 0.7, 2.5), opacity 0.2s;\n}\n.nav__item:nth-child(1) .nav__item-text {\n  transition-delay: 0.3s;\n}\n.nav__cb:checked ~ .nav__content .nav__item:nth-child(1) .nav__item-text {\n  transition-delay: 0s;\n}\n.nav__item:nth-child(2) .nav__item-text {\n  transition-delay: 0.2s;\n}\n.nav__cb:checked ~ .nav__content .nav__item:nth-child(2) .nav__item-text {\n  transition-delay: 0.1s;\n}\n.nav__item:nth-child(3) .nav__item-text {\n  transition-delay: 0.1s;\n}\n.nav__cb:checked ~ .nav__content .nav__item:nth-child(3) .nav__item-text {\n  transition-delay: 0.2s;\n}\n.nav__item:nth-child(4) .nav__item-text {\n  transition-delay: 0s;\n}\n.nav__cb:checked ~ .nav__content .nav__item:nth-child(4) .nav__item-text {\n  transition-delay: 0.3s;\n}\n.nav__btn {\n  position: absolute;\n  right: 0;\n  top: 0;\n  width: 90px;\n  height: 90px;\n  padding: 36px 31px;\n  cursor: pointer;\n}\n.nav__btn:before, .nav__btn:after {\n  content: &quot;&quot;;\n  display: block;\n  width: 28px;\n  height: 4px;\n  border-radius: 2px;\n  background: #096dd3;\n  transform-origin: 50% 50%;\n  transition: transform 1s cubic-bezier(0.48, 0.43, 0.29, 1.3), background-color 0.3s;\n}\n.nav__btn:before {\n  margin-bottom: 10px;\n}\n.nav__btn:hover:before, .nav__btn:hover:after {\n  background: #00bdea;\n}\n.nav__cb:checked ~ .nav__btn:before {\n  transform: translateY(7px) rotate(-225deg);\n}\n.nav__cb:checked ~ .nav__btn:after {\n  transform: translateY(-7px) rotate(225deg);\n}<\/pre><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":180,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[16],"class_list":["post-178","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-headermenu","tag-htmlcss"],"_links":{"self":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/comments?post=178"}],"version-history":[{"count":0,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/178\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media\/180"}],"wp:attachment":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media?parent=178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/categories?post=178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/tags?post=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}