{"id":1336,"date":"2023-05-01T10:23:44","date_gmt":"2023-05-01T07:23:44","guid":{"rendered":"https:\/\/notes.profidev.online\/?p=1336"},"modified":"2023-05-01T10:23:45","modified_gmt":"2023-05-01T07:23:45","slug":"loader-8","status":"publish","type":"post","link":"https:\/\/notes.profidev.online\/ru\/loader\/1336\/","title":{"rendered":"Loader"},"content":{"rendered":"<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Loader\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/wM0WQrgQDeA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/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;div class=&#039;music&#039;&gt;\n    &lt;div class=&#039;bar&#039;&gt;&lt;\/div&gt;\n    &lt;div class=&#039;bar&#039;&gt;&lt;\/div&gt;\n    &lt;div class=&#039;bar&#039;&gt;&lt;\/div&gt;\n    &lt;div class=&#039;bar&#039;&gt;&lt;\/div&gt;\n    &lt;div class=&#039;bar&#039;&gt;&lt;\/div&gt;\n    &lt;div class=&#039;bar&#039;&gt;&lt;\/div&gt;\n    &lt;div class=&#039;bar&#039;&gt;&lt;\/div&gt;\n    &lt;div class=&#039;bar&#039;&gt;&lt;\/div&gt;\n    &lt;div class=&#039;bar&#039;&gt;&lt;\/div&gt;\n    &lt;div class=&#039;bar&#039;&gt;&lt;\/div&gt;\n  &lt;\/div&gt;<\/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  margin: 0;\n  padding: 0;\n  box-sizing: border-box;\n}\n\nbody {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  height: 100vh;\n  background-color: black;\n}\n\n.music {\n  display: inline-flex;\n  align-items: center;\n  justify-content: space-between;\n  position: relative;\n  width: 300px;\n  height: 200px;\n}\n\n.music .bar {\n  width: 12px;\n  height: 2px;\n  border-radius: 10px;\n  background-color: white;\n  animation: up_down 1.5s ease-in-out infinite;\n}\n\n@keyframes up_down {\n  0%,\n  100% {\n    height: 2px;\n  }\n  50% {\n    height: 80px;\n  }\n}\n\n.music .bar:nth-child(1) {\n  background-color: purple;\n  animation-delay: 1s;\n}\n\n.music .bar:nth-child(2) {\n  background-color: crimson;\n  animation-delay: 0.8s;\n}\n\n.music .bar:nth-child(3) {\n  background-color: deeppink;\n  animation-delay: 0.6s;\n}\n\n.music .bar:nth-child(4) {\n  background-color: orange;\n  animation-delay: 0.4s;\n}\n\n.music .bar:nth-child(5) {\n  background-color: gold;\n  animation-delay: 0.2s;\n}\n\n.music .bar:nth-child(6) {\n  background-color: gold;\n  animation-delay: 0.2s;\n}\n\n.music .bar:nth-child(7) {\n  background-color: orange;\n  animation-delay: 0.4s;\n}\n\n.music .bar:nth-child(8) {\n  background-color: deeppink;\n  animation-delay: 0.6s;\n}\n\n.music .bar:nth-child(9) {\n  background-color: crimson;\n  animation-delay: 0.8s;\n}\n\n.music .bar:nth-child(10) {\n  background-color: purple;\n  animation-delay: 1s;\n}<\/pre><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":1337,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[16],"class_list":["post-1336","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-loader","tag-htmlcss"],"_links":{"self":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1336","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=1336"}],"version-history":[{"count":1,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1336\/revisions"}],"predecessor-version":[{"id":1338,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1336\/revisions\/1338"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media\/1337"}],"wp:attachment":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media?parent=1336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/categories?post=1336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/tags?post=1336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}