{"id":1599,"date":"2023-06-20T12:39:30","date_gmt":"2023-06-20T09:39:30","guid":{"rendered":"https:\/\/notes.profidev.online\/?p=1599"},"modified":"2023-06-20T12:43:59","modified_gmt":"2023-06-20T09:43:59","slug":"loader-9","status":"publish","type":"post","link":"https:\/\/notes.profidev.online\/ru\/loader\/1599\/","title":{"rendered":"Loader"},"content":{"rendered":"<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img fetchpriority=\"high\" decoding=\"async\" width=\"920\" height=\"481\" src=\"https:\/\/notes.profidev.online\/wp-content\/uploads\/2023\/06\/peek-2023-06-20-11-34.gif\" alt=\"Loader\" class=\"wp-image-1600 size-full\"\/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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=&quot;container&quot;&gt;\n    &lt;div class =&quot;loader-container&quot;&gt;\n      &lt;div class = &quot;text&quot;&gt;\n        loading ...\n      &lt;\/div&gt;\n      &lt;div class = &quot;ball ball-1&quot;&gt;\n      &lt;\/div&gt;\n      &lt;div class = &quot;ball ball-2&quot;&gt;\n      &lt;\/div&gt;\n    &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\n.container{\n  min-height: 100vh;\n  witdh: 100vw;\n  display: grid;\n  place-content: center;  \n  background: #222;\n}\n\n.loader-container{\n  position: relative;\n  height: 50vmin;\n  width: 50vmin;\n}\n\n.text{\n  text-align: center;\n  color: whitesmoke;\n  font-family: arial;\n  font-size: 2.5rem;\n}\n\n.ball{\n  position: absolute;\n  top: 25vmin;\n  height: 10vmin;\n  width: 10vmin;\n  background: whitesmoke;\n  border-radius: 100%;\n  transform-origin: -10vmin center;\n}\n.ball-2{\n  right: 12.5vmin;\n  animation: linear 3s infinite sheep1;\n}\n.ball-1{\n  right: -2.5vmin;\n  animation: linear 3s infinite sheep2;\n}\n\n@keyframes sheep1{\n  33%{\n    transform: rotate(0deg);    \n  }\n  66%{\n    transform: rotate(-180deg);\n  }\n  100%{\n    transform: rotate(-180deg) translate(-30vmin);\n  }\n}\n\n@keyframes sheep2{\n  33%, 66%{\n    transform: rotate(-180deg);\n  }\n  100%{\n    transform: rotate(-180deg) translate(-30vmin);\n}}\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":1600,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[16],"class_list":["post-1599","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\/1599","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=1599"}],"version-history":[{"count":1,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1599\/revisions"}],"predecessor-version":[{"id":1601,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1599\/revisions\/1601"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media\/1600"}],"wp:attachment":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media?parent=1599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/categories?post=1599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/tags?post=1599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}